From 200346ee5de6b8df6004008fb2c68b74417aa123 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 5 Feb 2012 14:23:01 +0000 Subject: [PATCH] Allow parameter to be passed to always show cha ton side of screen --- static/js/pad.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/js/pad.js b/static/js/pad.js index 7eb744a12..4ed359ecf 100644 --- a/static/js/pad.js +++ b/static/js/pad.js @@ -99,6 +99,7 @@ function getParams() var IsnoColors = params["noColors"]; var hideQRCode = params["hideQRCode"]; var rtl = params["rtl"]; + var alwaysShowChat = params["alwaysShowChat"]; if(IsnoColors) { @@ -153,6 +154,13 @@ function getParams() settings.rtlIsTrue = true } } + if(alwaysShowChat) + { + if(alwaysShowChat == "true") + { + chat.stickToScreen(); + } + } } function getUrlVars()