Update javascript/tagAutocomplete.js
Co-authored-by: DominikDoom <34448969+DominikDoom@users.noreply.github.com>pull/313/head
parent
bac95a9609
commit
53d6d2d21f
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue