From ec583511b8ee6392be9d931c50af2b9c721d08fa Mon Sep 17 00:00:00 2001 From: soraefir Date: Mon, 19 Jun 2023 12:46:33 +0200 Subject: [PATCH] Added Notes and Folding --- public/js/main.js | 3 +++ public/template/journey.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/js/main.js b/public/js/main.js index b88171c..2584405 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -226,6 +226,9 @@ const app = new Vue({ toggle_section_vis: function(idx){ this.journey_data.main[idx].hidden = !this.journey_data.main[idx].hidden; }, + get_section_vis: function(idx){ + return !this.journey_data.main[idx].hidden + } search_nominatim: function(txt,f){ if(txt==""){ this.query.nominatim=[]; diff --git a/public/template/journey.html b/public/template/journey.html index 1d8ecde..83e4095 100644 --- a/public/template/journey.html +++ b/public/template/journey.html @@ -47,7 +47,7 @@
-
+