leaflet zoom buttons would be at wrong location after shrinking chat again

This commit is contained in:
Stefan Breunig
2013-02-11 00:23:15 +01:00
parent 71fa7eb656
commit c5d2366cf7

View File

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