Line up FeatureGroup change with master

This commit is contained in:
danzel 2012-07-03 11:46:50 +12:00
parent f6f060f28b
commit 3674c11ae7

View File

@ -45,12 +45,7 @@ L.FeatureGroup = L.LayerGroup.extend({
},
_deinitEvents: function (layer) {
var events = ['click', 'dblclick', 'mouseover', 'mouseout'],
i, len;
for (i = 0, len = events.length; i < len; i++) {
layer.off(events[i], this._propagateEvent, this);
}
layer.off('click dblclick mouseover mouseout', this._propagateEvent, this);
},
_propagateEvent: function (e) {