From a391a076e508e0814016f33925b109a5b90b6213 Mon Sep 17 00:00:00 2001 From: soraefir Date: Mon, 19 Jun 2023 12:37:17 +0200 Subject: [PATCH] Added Notes and Folding --- public/js/main.js | 3 +++ public/template/journey.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 6a20b45..a271dab 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -223,6 +223,9 @@ const app = new Vue({ rm_section: function(idx){ this.journey_data.main.splice(idx,1); }, + toggle_section_vis: function(idx){ + this.journey_data.main[idx].hidden != item.hidden; + }, search_nominatim: function(txt,f){ if(txt==""){ this.query.nominatim=[]; diff --git a/public/template/journey.html b/public/template/journey.html index 4f6b9e1..1d8ecde 100644 --- a/public/template/journey.html +++ b/public/template/journey.html @@ -44,10 +44,10 @@
-
+
-
+