]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.zoom.js
Merge remote-tracking branch 'upstream/pull/2160'
[rails.git] / app / assets / javascripts / leaflet.zoom.js
index 205527432666a3217ffe9a73587d0c949ed3f7f3..0ef0f64dec5e13b461c0a5aaebb5f69ad76955e6 100644 (file)
@@ -53,7 +53,7 @@ L.OSM.Zoom = L.Control.extend({
 
        _updateDisabled: function () {
                var map = this._map,
 
        _updateDisabled: function () {
                var map = this._map,
-                       className = 'leaflet-disabled';
+                       className = 'disabled';
 
                L.DomUtil.removeClass(this._zoomInButton, className);
                L.DomUtil.removeClass(this._zoomOutButton, className);
 
                L.DomUtil.removeClass(this._zoomInButton, className);
                L.DomUtil.removeClass(this._zoomOutButton, className);