]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Merge branch 'wheres_this' of https://github.com/pnorman/openstreetmap-website into...
[rails.git] / app / assets / javascripts / index.js
index 1ba2fbbdef5cc719b5799813aa03bce0cfd50870..00e6a9d32a0d815b05676e0428540fc6a82ac16a 100644 (file)
@@ -80,8 +80,7 @@ $(document).ready(function () {
   var map = new L.OSM.Map("map", {
     zoomControl: false,
     layerControl: false,
-    contextmenu: true,
-    contextmenuWidth: 140
+    contextmenu: true
   });
 
   map.attributionControl.setPrefix('');
@@ -115,6 +114,7 @@ $(document).ready(function () {
     .removeClass('leaflet-control-locate leaflet-bar')
     .addClass('control-locate')
     .children("a")
+    .attr('href', '#')
     .removeClass('leaflet-bar-part leaflet-bar-part-single')
     .addClass('control-button');