Fix #153
This commit is contained in:
parent
9761a99c01
commit
296bddefcd
4 changed files with 6 additions and 4 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue