mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-29 19:11:32 +01:00
Fix autopan on chatbaloons - can be off now :)
This commit is contained in:
parent
181e3dccbd
commit
29e42137c9
@ -26,7 +26,7 @@ componentconstructors['chatballoon'] = function(dynmap, configuration) {
|
||||
var popup = me.chatpopups[message.name];
|
||||
if (!popup) {
|
||||
me.chatpopups[message.name] = popup = {
|
||||
layer: new L.Popup({autopan: false, closeButton: false}),
|
||||
layer: new L.Popup({autoPan: configuration.focuschatballoons, closeButton: false}),
|
||||
content: $('<div/>').addClass('balloonmessages')[0]
|
||||
};
|
||||
popup.layer.setContent(popup.content);
|
||||
|
Loading…
Reference in New Issue
Block a user