Update javascript/tagAutocomplete.js

Co-authored-by: DominikDoom <34448969+DominikDoom@users.noreply.github.com>
pull/313/head
undefined 2025-01-15 19:04:36 +08:00 committed by GitHub
parent bac95a9609
commit 53d6d2d21f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ function addResultsToList(textArea, results, tagword, resetList) {
}).map(tag => tag.replaceAll(" ", "_").replaceAll("\\(", "(").replaceAll("\\)", ")"))
// Split tags by `,` and count tag
for(const tag of unsanitizedTags) {
for (const tag of unsanitizedTags) {
tagCount[tag] = tagCount[tag] ? tagCount[tag] + 1 : 1
}
}