leaflet zoom buttons would be at wrong location after shrinking chat again
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user