User:Joepayne/stripRights.js: Difference between revisions

Jump to navigation Jump to search
No edit summary
(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