From 4fc2df874976338d3e32a10dd9f13fe1edcd1939 Mon Sep 17 00:00:00 2001 From: rrooij Date: Tue, 4 Oct 2016 19:58:50 +0200 Subject: [PATCH] leaflet-sidebar: fix formatting Removed trailing spaces and fixed the formatting a little bit. --- js/leaflet-sidebar.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/leaflet-sidebar.js b/js/leaflet-sidebar.js index 467716a..b28bbe1 100644 --- a/js/leaflet-sidebar.js +++ b/js/leaflet-sidebar.js @@ -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--) { @@ -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.