summaryrefslogtreecommitdiff
path: root/htdocs/mapscript.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/mapscript.js')
-rw-r--r--htdocs/mapscript.js8
1 files changed, 4 insertions, 4 deletions
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;
}
});