hide chat if its already open on readonly mode
This commit is contained in:
parent
48da5c1ab1
commit
0eb8b800cf
|
@ -323,6 +323,7 @@ function handshake()
|
|||
initalized = true;
|
||||
|
||||
if(clientVars.readonly){
|
||||
chat.hide();
|
||||
$('#myusernameedit').attr("disabled", true);
|
||||
$('#chatinput').attr("disabled", true);
|
||||
$('#chaticon').hide();
|
||||
|
|
Loading…
Reference in New Issue