User:Joepayne/stripRights.js: Difference between revisions

From Test Wiki
Content deleted Content added
Joepayne (talk | contribs)
No edit summary
Joepayne (talk | contribs)
Try fix
Line 26: Line 26:
$(link).click(function() {
$(link).click(function() {
checkAndPromote(username);
checkAndDemote(username);
});
});
}
}
Line 39: Line 39:
}
}


function checkAndPromote(username) {
function checkAndDemote(username) {
$.getJSON(
$.getJSON(
//Get user's group membership again
//Get user's group membership again