Skip to content

Commit

Permalink
Minor cosmetic patches: removed some extraneous FontAwesome-related c…
Browse files Browse the repository at this point in the history
…ode, made the active state less dark so it's still visible
  • Loading branch information
gregallensworth committed May 20, 2015
1 parent a4cfe22 commit c8880ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/leaflet-control-boxzoom-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '<i class="fa fa-search-plus leaflet-control"></i>';
this.controlDiv.innerHTML = ' ';
L.DomEvent
.addListener(this.controlDiv, 'mousedown', L.DomEvent.stopPropagation)
.addListener(this.controlDiv, 'click', L.DomEvent.stopPropagation)
Expand Down
3 changes: 1 addition & 2 deletions dist/leaflet-control-boxzoom.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
}

.leaflet-control-boxzoom.leaflet-control-boxzoom-active {
background-color:#444;
color: white;
background-color:#aaaaaa;
}

0 comments on commit c8880ab

Please sign in to comment.