Skip to content

Commit

Permalink
Merge pull request #88 from rrooij/formatting
Browse files Browse the repository at this point in the history
leaflet-sidebar: fix formatting
  • Loading branch information
Turbo87 authored Oct 6, 2016
2 parents 9c854db + 4fc2df8 commit 3b1dbec
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 3b1dbec

Please sign in to comment.