diff --git a/public/js/main.js b/public/js/main.js index a271dab..d074039 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -224,7 +224,7 @@ const app = new Vue({ this.journey_data.main.splice(idx,1); }, toggle_section_vis: function(idx){ - this.journey_data.main[idx].hidden != item.hidden; + this.journey_data.main[idx].hidden != this.journey_data.main[idx].hidden; }, search_nominatim: function(txt,f){ if(txt==""){