From 17104bfcbdb0b9a799bdd1ea36ae7559c099990c Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 22 Sep 2023 20:21:14 +0200 Subject: [PATCH] Consume editMode from query string the proper way --- umap/static/umap/js/umap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js index 3b85c2ac..f363ec88 100644 --- a/umap/static/umap/js/umap.js +++ b/umap/static/umap/js/umap.js @@ -104,7 +104,7 @@ L.U.Map.include({ L.Util.setBooleanFromQueryString(this.options, 'moreControl') L.Util.setBooleanFromQueryString(this.options, 'scaleControl') L.Util.setBooleanFromQueryString(this.options, 'miniMap') - L.Util.setBooleanFromQueryString(this.options, 'editMode') + L.Util.setFromQueryString(this.options, 'editMode') L.Util.setBooleanFromQueryString(this.options, 'displayDataBrowserOnLoad') L.Util.setBooleanFromQueryString(this.options, 'displayCaptionOnLoad') L.Util.setBooleanFromQueryString(this.options, 'captionBar')