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;
|
initalized = true;
|
||||||
|
|
||||||
if(clientVars.readonly){
|
if(clientVars.readonly){
|
||||||
|
chat.hide();
|
||||||
$('#myusernameedit').attr("disabled", true);
|
$('#myusernameedit').attr("disabled", true);
|
||||||
$('#chatinput').attr("disabled", true);
|
$('#chatinput').attr("disabled", true);
|
||||||
$('#chaticon').hide();
|
$('#chaticon').hide();
|
||||||
|
|
Loading…
Reference in New Issue