Ticket #581: iconDestroy.2.patch
| File iconDestroy.2.patch, 466 bytes (added by euzuro, 2 years ago) |
|---|
-
lib/OpenLayers/Icon.js
old new 52 52 }, 53 53 54 54 destroy: function() { 55 OpenLayers.Event.stopObserving (this.imageDiv.firstChild);55 OpenLayers.Event.stopObservingElement(this.imageDiv.firstChild); 56 56 this.imageDiv.innerHTML = ""; 57 57 this.imageDiv = null; 58 58 },
