fix, json has boolean, so checking for boolean and not string.
thanks dashkal for testing that
This commit is contained in:
parent
bc7ddaf9d2
commit
f4ba02cd23
1 changed files with 1 additions and 1 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue