Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): "Go to note" button in note_autocomplete not working (closes #732)

Elian Doran0f1a98795f70
diff --git a/src/public/app/services/note_autocomplete.js b/src/public/app/services/note_autocomplete.js
index 648faac8a0..93c366bfa9 100644
--- a/src/public/app/services/note_autocomplete.js
+++ b/src/public/app/services/note_autocomplete.js
@@ -149,7 +149,7 @@ function initNoteAutocomplete($el, options) {
.addClass("input-group-text full-text-search-button bx bx-search")
.prop("title", "Full text search (Shift+Enter)");
- const $goToSelectedNoteButton = $("<button>")
+ const $goToSelectedNoteButton = $("<a>")
.addClass("input-group-text go-to-selected-note-button bx bx-arrow-to-right");
$el.after($clearTextButton).after($showRecentNotesButton).after($fullTextSearchButton);