Call inherited method, thanks @elemoine
This commit is contained in:
@@ -31,5 +31,6 @@ goog.inherits(ol.MapEvent, goog.events.Event);
|
|||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
ol.MapEvent.prototype.preventDefault = function() {
|
ol.MapEvent.prototype.preventDefault = function() {
|
||||||
|
goog.base(this, 'preventDefault');
|
||||||
this.defaultPrevented = true;
|
this.defaultPrevented = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user