click handler's cachedEvent property isn't needed. r=tschaub. (closes #1252)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5676 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2008-01-07 23:49:59 +00:00
parent 9193ef67d5
commit 21f2605b55

View File

@@ -89,13 +89,6 @@ OpenLayers.Handler.Click = OpenLayers.Class(OpenLayers.Handler, {
*/
down: null,
/**
* Property: cachedEvent
* {Event} Since IE doesn't let us call window.setTimeout with extra
* arguments, we cache the last click event here.
*/
cachedEvent: null,
/**
* Constructor: OpenLayers.Handler.Click
* Create a new click handler.
@@ -211,7 +204,7 @@ OpenLayers.Handler.Click = OpenLayers.Class(OpenLayers.Handler, {
/**
* Method: delayedCall
* Sets <timerId> to null. And optionally triggers the click callback if
* <cachedEvent> is set.
* evt is set.
*/
delayedCall: function(evt) {
this.timerId = null;