fixing JS synatx errors

This commit is contained in:
Thomas Müller 2014-07-09 14:30:28 +02:00
parent bdc36461a7
commit f76deb9f87
2 changed files with 5 additions and 5 deletions

View File

@ -40,8 +40,8 @@ GroupList = {
},
modEveryoneCount: function(diff) {
$li = GroupList.getGroupLI(GroupList.everyoneGID);
count = GroupList.getUserCount($li) + diff;
var $li = GroupList.getGroupLI(GroupList.everyoneGID);
var count = GroupList.getUserCount($li) + diff;
GroupList.setUserCount($li, count);
},
@ -140,7 +140,7 @@ GroupList = {
}
_.defer(function () {
$(lis).each(function () {
this.removeClass('transparent')
this.removeClass('transparent');
});
});
}

View File

@ -399,8 +399,8 @@ var UserList = {
}
}
);
}
};
};
}
var addGroup = function (select, group) {
$('select[multiple]').each(function (index, element) {
$element = $(element);