From 202c6fa878e0376fb4f1bd9d0e96d24fe848c52a Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Vuotto Date: Mon, 28 Apr 2025 19:27:37 +0000 Subject: [PATCH] site: fix propagation prevention on Enter and Tab keys --- public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/app.js b/public/js/app.js index 711f5de..86d380e 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -75,7 +75,7 @@ document.addEventListener('alpine:init', () => { }, autocompleteItem(evt) { - if (this.currentWord !== '') { + if (this.items.length > 0) { this.autocompleteSuggestion(); evt.preventDefault(); }