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/>')
|
var messagelist = me.messagelist = $('<div/>')
|
||||||
.addClass('messagelist')
|
.addClass('messagelist')
|
||||||
.appendTo(chat);
|
.appendTo(chat);
|
||||||
if (me.options.allowchat === 'true') {
|
if (me.options.allowchat === true) {
|
||||||
var chatinput = me.chatinput = $('<input/>')
|
var chatinput = me.chatinput = $('<input/>')
|
||||||
.addClass('chatinput')
|
.addClass('chatinput')
|
||||||
.attr({
|
.attr({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue