Prevent default in double click zoom (refs #70)

This commit is contained in:
Tom Payne committed 2012-10-24 16:30:44 +02:00
1 parent 0ae3f8806e
commit 92b13b36d9
1 file changed
+1
+1
View File
@@ -37,5 +37,6 @@ ol.interaction.DblClickZoom.prototype.handleMapBrowserEvent =
-this.delta_ : this.delta_;
map.zoom(delta, anchor);
mapBrowserEvent.preventDefault();
browserEvent.preventDefault();
}
};