From 21f2605b552ad97b65ae90dee34f2c871a727fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 7 Jan 2008 23:49:59 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Handler/Click.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/OpenLayers/Handler/Click.js b/lib/OpenLayers/Handler/Click.js index c66da8e149..135aba1073 100644 --- a/lib/OpenLayers/Handler/Click.js +++ b/lib/OpenLayers/Handler/Click.js @@ -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 to null. And optionally triggers the click callback if - * is set. + * evt is set. */ delayedCall: function(evt) { this.timerId = null;