mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 19:25:15 +01:00
Fix IE chatballon popups
This commit is contained in:
parent
d032909412
commit
655c0732b7
@ -30,7 +30,7 @@ componentconstructors['chatballoon'] = function(dynmap, configuration) {
|
||||
layer: new L.Popup({autoPan: configuration.focuschatballoons, closeButton: false}),
|
||||
content: $('<div/>').addClass('balloonmessages')[0]
|
||||
};
|
||||
popup.layer.setContent(popup.content);
|
||||
popup.layer.setContent($(popup.content).html());
|
||||
|
||||
popup.close = function() {
|
||||
if (popup.timeout) { window.clearTimeout(popup.timeout); }
|
||||
@ -51,7 +51,7 @@ componentconstructors['chatballoon'] = function(dynmap, configuration) {
|
||||
$(children[0]).remove();
|
||||
}
|
||||
|
||||
popup.layer.setContent(popup.content);
|
||||
popup.layer.setContent($(popup.content).html());
|
||||
|
||||
if (popup.timeout) { window.clearTimeout(popup.timeout); }
|
||||
popup.timeout = window.setTimeout(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user