Start working on theming

This commit is contained in:
calzoneman 2014-01-25 13:49:34 -06:00
parent 63ed9c7883
commit e70be5df42
6 changed files with 185 additions and 62 deletions

View file

@ -608,3 +608,15 @@ $("#cs-chatfilters-import").click(function () {
socket.emit("importFilters", data);
});
var toggleUserlist = function () {
if ($("#userlist").css("display") === "none") {
$("#userlist").show();
} else {
$("#userlist").hide();
}
scrollChat();
};
$("#usercount").click(toggleUserlist);
$("#userlisttoggle").click(toggleUserlist);