diff --git a/public/js/main.js b/public/js/main.js index 1b08143..586bc1d 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -226,7 +226,7 @@ const app = new Vue({ this.journey_data.main.splice(idx,1); }, toggle_section_vis: function(idx){ - this.visible_step ^= 0x1 << (idx+1); + this.visible_step ^= 0x1 << (idx); }, search_nominatim: function(txt,f){ if(txt==""){ diff --git a/public/template/journey.html b/public/template/journey.html index 3700633..4ed5ea0 100644 --- a/public/template/journey.html +++ b/public/template/journey.html @@ -47,7 +47,7 @@
-