]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.key.js
Merge remote-tracking branch 'upstream/pull/3061'
[rails.git] / app / assets / javascripts / leaflet.key.js
index 321f937db3fc74b94013be51a69a2f28388e6ea7..e839171ab0937bcede9d8ef3795a552eb5b71842 100644 (file)
@@ -65,13 +65,13 @@ L.OSM.key = function (options) {
         .toggleClass("disabled", disabled)
         .attr("data-original-title",
               I18n.t(disabled ?
         .toggleClass("disabled", disabled)
         .attr("data-original-title",
               I18n.t(disabled ?
-                     "javascripts.key.tooltip_disabled" :
-                     "javascripts.key.tooltip"));
+                "javascripts.key.tooltip_disabled" :
+                "javascripts.key.tooltip"));
     }
 
     function update() {
       var layer = map.getMapBaseLayerId(),
     }
 
     function update() {
       var layer = map.getMapBaseLayerId(),
-        zoom = map.getZoom();
+          zoom = map.getZoom();
 
       $(".mapkey-table-entry").each(function () {
         var data = $(this).data();
 
       $(".mapkey-table-entry").each(function () {
         var data = $(this).data();