User:Joepayne/stripRights.js: Difference between revisions
From Test Wiki
User:Joepayne/stripRights.js (view source)
Revision as of 03:00, 17 February 2018
, 17 February 2018Try fix
No edit summary |
(Try fix) |
||
Line 26: | Line 26: | ||
$(link).click(function() { | $(link).click(function() { | ||
checkAndDemote(username); | |||
}); | }); | ||
} | } | ||
Line 39: | Line 39: | ||
} | } | ||
function | function checkAndDemote(username) { | ||
$.getJSON( | $.getJSON( | ||
//Get user's group membership again | //Get user's group membership again |