From c8880ab06d2146da854fe21a7834f6580ab749eb Mon Sep 17 00:00:00 2001 From: Greg Allensworth Date: Tue, 19 May 2015 19:00:08 -0700 Subject: [PATCH] Minor cosmetic patches: removed some extraneous FontAwesome-related code, made the active state less dark so it's still visible --- dist/leaflet-control-boxzoom-src.js | 2 +- dist/leaflet-control-boxzoom.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/leaflet-control-boxzoom-src.js b/dist/leaflet-control-boxzoom-src.js index 7142516..070cf27 100755 --- a/dist/leaflet-control-boxzoom-src.js +++ b/dist/leaflet-control-boxzoom-src.js @@ -22,7 +22,7 @@ L.Control.BoxZoom = L.Control.extend({ this.controlDiv = L.DomUtil.create('div', 'leaflet-control-boxzoom'); this.controlDiv.control = this; this.controlDiv.title = 'Click here then draw a square on the map, to zoom in to an area'; - this.controlDiv.innerHTML = ''; + this.controlDiv.innerHTML = ' '; L.DomEvent .addListener(this.controlDiv, 'mousedown', L.DomEvent.stopPropagation) .addListener(this.controlDiv, 'click', L.DomEvent.stopPropagation) diff --git a/dist/leaflet-control-boxzoom.css b/dist/leaflet-control-boxzoom.css index 6981112..ec64151 100755 --- a/dist/leaflet-control-boxzoom.css +++ b/dist/leaflet-control-boxzoom.css @@ -21,6 +21,5 @@ } .leaflet-control-boxzoom.leaflet-control-boxzoom-active { - background-color:#444; - color: white; + background-color:#aaaaaa; }