This commit is contained in:
calzoneman 2013-05-27 14:35:24 -04:00
parent 9761a99c01
commit 296bddefcd
4 changed files with 6 additions and 4 deletions

View file

@ -808,7 +808,7 @@ function handlePermissionChange() {
}
var poll = $("#pollcontainer .active");
if(poll.length > 0) {
poll.find(".btn").attr("disabled", hasPermission("pollvote"));
poll.find(".btn").attr("disabled", !hasPermission("pollvote"));
}
var users = $("#userlist").children();
for(var i = 0; i < users.length; i++) {