Fix #302
This commit is contained in:
parent
1939314d72
commit
bf014530f9
2 changed files with 8 additions and 1 deletions
|
|
@ -1038,7 +1038,7 @@ function handleModPermissions() {
|
|||
}
|
||||
|
||||
function handlePermissionChange() {
|
||||
if(CLIENT.rank >= 2) {
|
||||
if(CLIENT.rank >= 2 && $("#channelsettingswrap").length > 0) {
|
||||
$("#channelsettingswrap3").show();
|
||||
if($("#channelsettingswrap").html().trim() == "") {
|
||||
$("#channelsettingswrap").load("channeloptions.html", handleModPermissions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue