Improved extension example docs and destroy method.
This commit is contained in:
@@ -94,6 +94,7 @@ OpenLayers.Events.buttonclick = OpenLayers.Class({
|
||||
for (var i=this.events.length-1; i>=0; --i) {
|
||||
this.target.unregister(this.events[i], this, this.buttonClick);
|
||||
}
|
||||
delete this.target;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user