User:Joepayne/stripRights.js: Difference between revisions
From Test Wiki
Content deleted Content added
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 |