X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8fb5ad24c5751bd2d43b86e4359381d200af066..f11221f05bcdd05edd7a9f97d6d57e7baaeb4921:/app/assets/javascripts/leaflet.zoom.js?ds=sidebyside 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);