diff --git a/run_dir/static/js/running_notes_component.js b/run_dir/static/js/running_notes_component.js index e5b410478..1d4c0d1cd 100644 --- a/run_dir/static/js/running_notes_component.js +++ b/run_dir/static/js/running_notes_component.js @@ -193,7 +193,8 @@ export const vRunningNotesTab = { this.openNewNoteForm(); } }, - toggleFormCategory(category) { + toggleFormCategory(event, category) { + event.preventDefault(); if (this.form_categories.includes(category)) { this.form_categories = this.form_categories.filter(item => item !== category); } else {