diff --git a/www/js/util.js b/www/js/util.js index 9ef263ab..5f94e6d1 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -1502,11 +1502,13 @@ function chatOnly() { .appendTo($("#chatheader")) .click(showUserOptions); $("").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(); }