]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.zoom.js
Remove z-index override from leaflet controls on small screens
[rails.git] / app / assets / javascripts / leaflet.zoom.js
index 80b4ab1bcedf1e6cfbdf5d92213b222d0081f46e..205527432666a3217ffe9a73587d0c949ed3f7f3 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;