Make modflair setting persistent from button too.

This commit is contained in:
Xaekai 2016-07-11 22:14:26 -07:00
parent 5e399b96cf
commit b2b034d9df
2 changed files with 3 additions and 1 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.18.5", "version": "3.18.6",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },

View file

@ -44,6 +44,8 @@ $("#modflair").click(function () {
m.removeClass("label-default") m.removeClass("label-default")
.addClass("label-success"); .addClass("label-success");
} }
$("#us-modflair").prop("checked", USEROPTS.modhat);
setOpt('modhat', USEROPTS.modhat);
}); });
$("#usercount").mouseenter(function (ev) { $("#usercount").mouseenter(function (ev) {