Remove unnecessary autocomplete call in wildcards

which would result in duplicate file requests
This commit is contained in:
DominikDoom
2023-08-29 10:23:13 +02:00
parent 32c4589df3
commit 3e57842ac6

View File

@@ -159,7 +159,6 @@ function keepOpenIfWildcard(tagType, sanitizedText, newPrompt, textArea) {
// If it's a wildcard, we want to keep the results open so the user can select another wildcard
if (tagType === ResultType.wildcardFile || tagType === ResultType.yamlWildcard) {
hideBlocked = true;
autocomplete(textArea, newPrompt, sanitizedText);
setTimeout(() => { hideBlocked = false; }, 450);
return true;
}