From a020df91b21f50990ac5d45c94c13d5566862496 Mon Sep 17 00:00:00 2001 From: DominikDoom Date: Sat, 29 Jul 2023 16:26:07 +0200 Subject: [PATCH] Fix wildcard traversal condition --- javascript/tagAutocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/tagAutocomplete.js b/javascript/tagAutocomplete.js index 02455fa..5b66a43 100644 --- a/javascript/tagAutocomplete.js +++ b/javascript/tagAutocomplete.js @@ -375,7 +375,7 @@ async function insertTextAtCursor(textArea, result, tagword, tabCompletedWithout } } - if (tagType === ResultType.wildcardFile || tagType === ResultType.yamlWildcard + if ((tagType === ResultType.wildcardFile || tagType === ResultType.yamlWildcard) && tabCompletedWithoutChoice && TAC_CFG.wildcardCompletionMode !== "Always fully" && sanitizedText.includes("/")) {