From 134d70dc9fbdbed4f4cd3827295fbbd64a2ee5f2 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Thu, 11 Jun 2020 10:54:14 +0200 Subject: Fix indentation --- htdocs/mapscript.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'htdocs') diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index d33e9e7..3eccb65 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -580,10 +580,10 @@ L.MyControl = L.Control.extend({ L.DomEvent.on(link, 'mousedown', L.DomEvent.stop); L.DomEvent.on(link, 'mouseup', L.DomEvent.stop); L.DomEvent.on(link, 'click', L.DomEvent.stop) - .on(link, 'click', function () { - window.LAYER = this.options.callback.call(); - }, this); - return container; + .on(link, 'click', function () { + window.LAYER = this.options.callback.call(); + }, this); + return container; } }); -- cgit v1.2.3