]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.query.js
Move leaflet.locatecontrol to be a yarn managed asset
[rails.git] / app / assets / javascripts / leaflet.query.js
index 8e45014a3ebab98c357e7058711a4db141dfbffb..5f449c214a31c782f67655e319a497073d0a71c4 100644 (file)
@@ -17,7 +17,7 @@ L.OSM.query = function (options) {
 
     function update() {
       var wasDisabled = link.hasClass("disabled"),
-        isDisabled = map.getZoom() < 14;
+          isDisabled = map.getZoom() < 14;
       link
         .toggleClass("disabled", isDisabled)
         .attr("data-original-title", I18n.t(isDisabled ?