summaryrefslogtreecommitdiff
path: root/static/js/src/palette-manual.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/src/palette-manual.js')
-rw-r--r--static/js/src/palette-manual.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/static/js/src/palette-manual.js b/static/js/src/palette-manual.js
index 95e1907..dbf0b89 100644
--- a/static/js/src/palette-manual.js
+++ b/static/js/src/palette-manual.js
@@ -199,4 +199,14 @@ function add_tags(e) {
if(!manPaletteOpen) {
manPaletteToggle();
}
-*/ \ No newline at end of file
+*/
+
+// ohgod - checkbox to hide the userlist
+$(function(){
+ $('#textbutton input').attr('checked', true);
+ TextEnabled = true;
+ setTextEnable.apply($('#textbutton input')[0]);
+ $('<div style="float:right; height:20px; margin-left:10px;"><label for="showulist"><span>show userlist?</span></label><input type="checkbox" id="showulist" checked></div>').prependTo('#chatbuttons');
+ $('#showulist').change(function(){ $('#userList').toggle( this.checked ); });
+});
+