Call inherited method, thanks @elemoine

This commit is contained in:
Tom Payne committed 2012-07-19 14:58:02 +02:00
1 parent 9ce406c203
commit 08b4ef665b
1 file changed
+1
+1
View File
@@ -31,5 +31,6 @@ goog.inherits(ol.MapEvent, goog.events.Event);
/**
*/
ol.MapEvent.prototype.preventDefault = function() {
goog.base(this, 'preventDefault');
this.defaultPrevented = true;
};