summaryrefslogtreecommitdiff
path: root/src/static/js/pad.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/pad.js')
-rw-r--r--src/static/js/pad.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index b865fa64..bb06162a 100644
--- a/src/static/js/pad.js
+++ b/src/static/js/pad.js
@@ -325,6 +325,9 @@ function handshake()
if(clientVars.readonly){
$('#myusernameedit').attr("disabled", true);
$('#chatinput').attr("disabled", true);
+ $('#chaticon').hide();
+ $('#options-chatandusers').parent().hide();
+ $('#options-stickychat').parent().hide();
}
$("body").addClass(clientVars.readonly ? "readonly" : "readwrite")