diff --git a/configuration.txt b/configuration.txt index 4b4b7b70..18434cf4 100644 --- a/configuration.txt +++ b/configuration.txt @@ -72,8 +72,8 @@ web: showchatwindow: true allowwebchat: true - webchat-interval: 1000 - messagettl: 15000 + webchat-interval: 5 + messagettl: 15 showplayerfacesonmap: true showplayerfacesinmenu: true diff --git a/web/js/map.js b/web/js/map.js index 3a638188..67dd0cc3 100644 --- a/web/js/map.js +++ b/web/js/map.js @@ -449,7 +449,7 @@ DynMap.prototype = { messageRow.append(playerIconContainer,playerNameContainer,playerMessageContainer); //messageRow.append(playerIconContainer,playerWorldContainer,playerGroupContainer,playerNameContainer,playerMessageContainer); - setTimeout(function() { messageRow.remove(); }, me.options.messagettl); + setTimeout(function() { messageRow.remove(); }, (me.options.messagettl * 1000)); messagelist.append(messageRow); me.messagelist.show();