fix, json has boolean, so checking for boolean and not string.
thanks dashkal for testing that
This commit is contained in:
parent
a92e17f6d4
commit
8d2066d280
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