hide chat if its already open on readonly mode

This commit is contained in:
John McLear 2015-05-20 01:50:37 +01:00
parent 48da5c1ab1
commit 0eb8b800cf
1 changed files with 1 additions and 0 deletions

View File

@ -323,6 +323,7 @@ function handshake()
initalized = true;
if(clientVars.readonly){
chat.hide();
$('#myusernameedit').attr("disabled", true);
$('#chatinput').attr("disabled", true);
$('#chaticon').hide();