commit bdfe3d7f4837ce9c6c511e8ab77b237d7160e4a5 parent 09832dbbd671d1842d6f1f258a963ab212c1076f Author: Sergej Orlov <wladimirych@gmail.com> Date: Sun, 5 Jan 2020 19:57:37 +0100 fix lint error (no-return-assign) Diffstat:
M | src/lib/leaflet.control.azimuth/index.js | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lib/leaflet.control.azimuth/index.js b/src/lib/leaflet.control.azimuth/index.js @@ -225,7 +225,9 @@ L.Control.Azimuth = L.Control.extend({ samplingInterval: calcSamplingInterval(dist), sightLine: true }); - this.elevationControl.on('remove', () => this.elevationControl = null); + this.elevationControl.on('remove', () => { + this.elevationControl = null; + }); this.fire('elevation-shown'); },