From ba986e536d755f6224f25715feefd54435b5e139 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Thu, 12 Jul 2012 23:47:37 +0200 Subject: [PATCH] We decided to be explicit about bubble/capture. --- src/ol/handler/Click.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/handler/Click.js b/src/ol/handler/Click.js index 991175ec2d..8bcb4e79a8 100644 --- a/src/ol/handler/Click.js +++ b/src/ol/handler/Click.js @@ -28,7 +28,7 @@ ol.handler.Click = function(map, states) { goog.base(this, map, states); goog.events.listen(this.element_, goog.events.EventType.CLICK, - this.handleClick, undefined, this); + this.handleClick, false, this); }; goog.inherits(ol.handler.Click, ol.handler.MapHandler); @@ -37,7 +37,7 @@ goog.inherits(ol.handler.Click, ol.handler.MapHandler); */ ol.handler.Click.prototype.disposeInternal = function() { goog.events.unlisten(this.element_, goog.events.EventType.CLICK, - this.handleClick, undefined, this); + this.handleClick, false, this); }; /**