From c5d2366cf70aec7a17d390d827caa45fa6749697 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Mon, 11 Feb 2013 00:23:15 +0100 Subject: [PATCH] leaflet zoom buttons would be at wrong location after shrinking chat again --- code/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/chat.js b/code/chat.js index 4217bb32..8e44a562 100644 --- a/code/chat.js +++ b/code/chat.js @@ -474,7 +474,7 @@ window.chat.toggle = function() { var div = $('#chat > div:visible'); div.data('ignoreNextScroll', true); div.scrollTop(99999999); // scroll to bottom - $('.leaflet-control').css('margin-left', '0'); + $('.leaflet-control').css('margin-left', '13px'); } else { $('#chatcontrols a:first').text('◥◤'); c.addClass('expand');