]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.zoom.js
Exclude hidden diary entries and comments from spam scoring
[rails.git] / app / assets / javascripts / leaflet.zoom.js
index 80b4ab1bcedf1e6cfbdf5d92213b222d0081f46e..0ef0f64dec5e13b461c0a5aaebb5f69ad76955e6 100644 (file)
@@ -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);