mirror of https://github.com/calzoneman/sync.git
Hide channel settings button in chatonly for non mods
This commit is contained in:
parent
6e1de10860
commit
c93bc97a94
|
@ -1502,11 +1502,13 @@ function chatOnly() {
|
|||
.appendTo($("#chatheader"))
|
||||
.click(showUserOptions);
|
||||
$("<span/>").addClass("label label-default pull-right pointer")
|
||||
.attr("id", "showchansettings")
|
||||
.text("Channel Settings")
|
||||
.appendTo($("#chatheader"))
|
||||
.click(function () {
|
||||
$("#channeloptions").modal();
|
||||
});
|
||||
setVisible("#showchansettings", CLIENT.rank >= 2);
|
||||
$("body").addClass("chatOnly");
|
||||
resizeStuff();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue