Removing unneeded preventDefault calls

This commit is contained in:
ahocevar
2012-09-26 18:26:11 +02:00
parent c7a32b33da
commit 4257f5c7c6
5 changed files with 0 additions and 10 deletions

View File

@@ -40,7 +40,6 @@ ol.interaction.DragPan.prototype.handleDrag = function(mapBrowserEvent) {
ol.interaction.DragPan.prototype.handleDragStart = function(mapBrowserEvent) {
var browserEvent = mapBrowserEvent.browserEvent;
if (!browserEvent.shiftKey) {
browserEvent.preventDefault();
return true;
} else {
return false;