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');
|
var div = $('#chat > div:visible');
|
||||||
div.data('ignoreNextScroll', true);
|
div.data('ignoreNextScroll', true);
|
||||||
div.scrollTop(99999999); // scroll to bottom
|
div.scrollTop(99999999); // scroll to bottom
|
||||||
$('.leaflet-control').css('margin-left', '0');
|
$('.leaflet-control').css('margin-left', '13px');
|
||||||
} else {
|
} else {
|
||||||
$('#chatcontrols a:first').text('◥◤');
|
$('#chatcontrols a:first').text('◥◤');
|
||||||
c.addClass('expand');
|
c.addClass('expand');
|
||||||
|
Reference in New Issue
Block a user