fix for #847 - use bind() instead of bindAsEventListener()= when appropriate
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3786 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -211,7 +211,7 @@ OpenLayers.Layer.GeoRSS = OpenLayers.Class(OpenLayers.Layer.Markers, {
|
||||
for(var i=0; i < this.layer.map.popups.length; i++) {
|
||||
this.layer.map.removePopup(this.layer.map.popups[i]);
|
||||
}
|
||||
}.bindAsEventListener(this));
|
||||
}.bind(this));
|
||||
this.layer.map.addPopup(popup);
|
||||
}
|
||||
OpenLayers.Event.stop(evt);
|
||||
|
||||
Reference in New Issue
Block a user