fix, json has boolean, so checking for boolean and not string.

thanks dashkal for testing that
This commit is contained in:
Arthur Mayer 2011-03-07 07:48:46 +01:00
parent bc7ddaf9d2
commit f4ba02cd23

View file

@ -202,7 +202,7 @@ DynMap.prototype = {
var messagelist = me.messagelist = $('<div/>')
.addClass('messagelist')
.appendTo(chat);
if (me.options.allowchat === 'true') {
if (me.options.allowchat === true) {
var chatinput = me.chatinput = $('<input/>')
.addClass('chatinput')
.attr({