Skip to content

Commit

Permalink
leaflet-sidebar: fix formatting
Browse files Browse the repository at this point in the history
Removed trailing spaces and fixed the formatting a little bit.
  • Loading branch information
rrooij committed Oct 4, 2016
1 parent 9c854db commit 4fc2df8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/leaflet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ L.Control.Sidebar = L.Control.extend(/** @lends L.Control.Sidebar.prototype */ {
.on(sub, 'click', L.DomEvent.preventDefault )
.on(sub, 'click', this._onClick, child);
}

}

for (i = this._closeButtons.length - 1; i >= 0; i--) {
Expand All @@ -88,7 +87,7 @@ L.Control.Sidebar = L.Control.extend(/** @lends L.Control.Sidebar.prototype */ {

return this;
},

/**
* @deprecated - Please use remove() instead of removeFrom(), as of Leaflet 0.8-dev, the removeFrom() has been replaced with remove()
* Removes this sidebar from the map.
Expand Down

0 comments on commit 4fc2df8

Please sign in to comment.