Update javascript/tagAutocomplete.js
Co-authored-by: DominikDoom <34448969+DominikDoom@users.noreply.github.com>pull/313/head
parent
53d6d2d21f
commit
f0cab5312c
|
|
@ -858,8 +858,8 @@ function addResultsToList(textArea, results, tagword, resetList) {
|
|||
flexDiv.title = "✨ Frequent tag. Ctrl/Cmd + click to reset usage count."
|
||||
}
|
||||
|
||||
// Add 🔁 to indicate if has existed tag
|
||||
if(IS_DAN_OR_E621_TAG_FILE && tagCount[result.text] >= 1) {
|
||||
// Add 🔁 to indicate if tag was used before
|
||||
if (IS_DAN_OR_E621_TAG_FILE && tagCount[result.text] >= 1) {
|
||||
const textNode = flexDiv.querySelector(".acMetaText")
|
||||
const span = document.createElement("span")
|
||||
textNode.insertBefore(span, textNode.firstChild)
|
||||
|
|
|
|||
Loading…
Reference in New Issue