mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
hide chat if its already open on readonly mode
This commit is contained in:
parent
48da5c1ab1
commit
0eb8b800cf
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue