From 64733202c05286640edaa6cb56eb259312382264 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Thu, 17 Mar 2011 22:10:59 +0100 Subject: [PATCH] Merged from flames/master --- web/js/map.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/js/map.js b/web/js/map.js index 3b399b46..459ea3f9 100644 --- a/web/js/map.js +++ b/web/js/map.js @@ -499,8 +499,7 @@ DynMap.prototype = { me.messagelist.show(); //var scrollHeight = jQuery(me.messagelist).attr('scrollHeight'); - var scrollHeight = me.messagelist.scrollHeight(); - messagelist.scrollTop(scrollHeight); + me.messagelist.scrollTop(me.messagelist.scrollHeight()); } }, onTileUpdated: function(tileName) {