X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8fb5ad24c5751bd2d43b86e4359381d200af066..81241b30835fe090ebc9f511d1954a5c511c94ca:/app/assets/javascripts/leaflet.zoom.js?ds=inline diff --git a/app/assets/javascripts/leaflet.zoom.js b/app/assets/javascripts/leaflet.zoom.js index 80b4ab1bc..0ef0f64de 100644 --- a/app/assets/javascripts/leaflet.zoom.js +++ b/app/assets/javascripts/leaflet.zoom.js @@ -37,7 +37,7 @@ L.OSM.Zoom = L.Control.extend({ link.href = '#'; link.title = title; - var sprite = L.DomUtil.create('span', 'icon ' + className, link); + L.DomUtil.create('span', 'icon ' + className, link); var stop = L.DomEvent.stopPropagation; @@ -53,7 +53,7 @@ L.OSM.Zoom = L.Control.extend({ _updateDisabled: function () { var map = this._map, - className = 'leaflet-disabled'; + className = 'disabled'; L.DomUtil.removeClass(this._zoomInButton, className); L.DomUtil.removeClass(this._zoomOutButton, className);