From 1d5d15450209599ec7c38f7560e56050ec4148eb Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sun, 22 Jul 2012 00:08:05 -0400 Subject: Merge --- static/js/src/palette-manual.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static/js/src/palette-manual.js') diff --git a/static/js/src/palette-manual.js b/static/js/src/palette-manual.js index edf8f15..19175d9 100644 --- a/static/js/src/palette-manual.js +++ b/static/js/src/palette-manual.js @@ -210,9 +210,10 @@ if(!manPaletteOpen) { // ohgod - checkbox to hide the userlist $(function(){ + if ($('#textbutton').length == 0) return; $('#textbutton input').attr('checked', true); TextEnabled = true; - setTextEnable.apply($('#textbutton input')[0]); + if (setTextEnable) setTextEnable.apply($('#textbutton input')[0]); $('
').prependTo('#chatbuttons'); $('#showulist').change(function(){ $('#userList').toggle( this.checked ); }); }); -- cgit v1.2.3-70-g09d2