]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'openstreetmap/pull/1445'
authorTom Hughes <tom@compton.nu>
Sun, 19 Feb 2017 11:38:27 +0000 (11:38 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 19 Feb 2017 11:38:27 +0000 (11:38 +0000)
app/assets/javascripts/index/contextmenu.js

index 1e7251ec62a99b6d3f81f749d183dc28ac10de0a..b19c5d34f4f728a1b7b534c094cd577bf5221ece 100644 (file)
@@ -71,7 +71,7 @@ OSM.initializeContextMenu = function (map) {
   });
 
   map.on("mousedown", function (e) {
-    if (e.shiftKey) map.contextmenu.disable();
+    if (e.originalEvent.shiftKey) map.contextmenu.disable();
   }).on("mouseup", function () {
     map.contextmenu.enable();
   });