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:
@@ -89,13 +89,6 @@ OpenLayers.Handler.Click = OpenLayers.Class(OpenLayers.Handler, {
|
|||||||
*/
|
*/
|
||||||
down: null,
|
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
|
* Constructor: OpenLayers.Handler.Click
|
||||||
* Create a new click handler.
|
* Create a new click handler.
|
||||||
@@ -211,7 +204,7 @@ OpenLayers.Handler.Click = OpenLayers.Class(OpenLayers.Handler, {
|
|||||||
/**
|
/**
|
||||||
* Method: delayedCall
|
* Method: delayedCall
|
||||||
* Sets <timerId> to null. And optionally triggers the click callback if
|
* Sets <timerId> to null. And optionally triggers the click callback if
|
||||||
* <cachedEvent> is set.
|
* evt is set.
|
||||||
*/
|
*/
|
||||||
delayedCall: function(evt) {
|
delayedCall: function(evt) {
|
||||||
this.timerId = null;
|
this.timerId = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user