Propagate popupclose event. Fixes #1681

This commit is contained in:
Tom MacWright 2013-06-24 11:49:10 -04:00
parent 73ddddf318
commit ed4b626550
3 changed files with 7154 additions and 7161 deletions

9
dist/leaflet-src.js vendored
View File

@ -2561,13 +2561,6 @@ L.TileLayer = L.Class.extend({
} else {
L.DomUtil.setOpacity(this._container, this.options.opacity);
}
// stupid webkit hack to force redrawing of tiles
if (L.Browser.webkit) {
for (i in tiles) {
tiles[i].style.webkitTransform += ' translate(0,0)';
}
}
},
_initContainer: function () {
@ -4242,7 +4235,7 @@ L.FeatureGroup = L.LayerGroup.extend({
includes: L.Mixin.Events,
statics: {
EVENTS: 'click dblclick mouseover mouseout mousemove contextmenu'
EVENTS: 'click dblclick mouseover mouseout mousemove contextmenu popupclose'
},
addLayer: function (layer) {

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@ L.FeatureGroup = L.LayerGroup.extend({
includes: L.Mixin.Events,
statics: {
EVENTS: 'click dblclick mouseover mouseout mousemove contextmenu'
EVENTS: 'click dblclick mouseover mouseout mousemove contextmenu popupclose'
},
addLayer: function (layer) {