Don't block enter if no tag is selected

Fixes #147
This commit is contained in:
Dominik Reh
2023-03-27 01:19:24 +02:00
parent 32c7749a5f
commit 296b9456cc

View File

@@ -753,6 +753,9 @@ function navigateInList(textArea, event) {
case keymap["ChooseSelected"]:
if (selectedTag !== null) {
insertTextAtCursor(textArea, results[selectedTag], tagword);
} else {
hideResults(textArea);
return;
}
break;
case keymap["ChooseFirstOrSelected"]: