Commit 3efb7139 authored by Phil Hughes's avatar Phil Hughes

Fixed static methods

parent 877ddab2
/* eslint-disable class-methods-use-this */
(() => { (() => {
window.gl = window.gl || {}; window.gl = window.gl || {};
...@@ -96,7 +97,7 @@ ...@@ -96,7 +97,7 @@
} }
} }
static getMemberListItem(btn) { getMemberListItem(btn) {
return document.getElementById(btn.dataset.id); return document.getElementById(btn.dataset.id);
} }
...@@ -111,7 +112,7 @@ ...@@ -111,7 +112,7 @@
this.overrideLdap(memberListItem, btn.dataset.endpoint, true); this.overrideLdap(memberListItem, btn.dataset.endpoint, true);
} }
static overrideLdap(memberListitem, endpoint, override) { overrideLdap(memberListitem, endpoint, override) {
if (override) { if (override) {
memberListitem.classList.add('is-overriden'); memberListitem.classList.add('is-overriden');
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment