From f4ba02cd23d5e2c83d567a120bde0d2fd53de843 Mon Sep 17 00:00:00 2001 From: Arthur Mayer Date: Mon, 7 Mar 2011 07:48:46 +0100 Subject: [PATCH] fix, json has boolean, so checking for boolean and not string. thanks dashkal for testing that --- web/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/map.js b/web/map.js index cce76d9e..5b4d53ad 100644 --- a/web/map.js +++ b/web/map.js @@ -202,7 +202,7 @@ DynMap.prototype = { var messagelist = me.messagelist = $('
') .addClass('messagelist') .appendTo(chat); - if (me.options.allowchat === 'true') { + if (me.options.allowchat === true) { var chatinput = me.chatinput = $('') .addClass('chatinput') .attr({