messagettl for chat also in seconds :)

This commit is contained in:
Arthur Mayer 2011-03-15 23:56:22 +01:00
parent 58060137b4
commit 4a2f82a7d6
2 changed files with 3 additions and 3 deletions

View File

@ -72,8 +72,8 @@ web:
showchatwindow: true
allowwebchat: true
webchat-interval: 1000
messagettl: 15000
webchat-interval: 5
messagettl: 15
showplayerfacesonmap: true
showplayerfacesinmenu: true

View File

@ -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();