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); }; /**