slight bug in content

This commit is contained in:
Lauchmelder 2022-03-20 17:44:42 +01:00
parent 9d32fc5285
commit 569ec417ca
No known key found for this signature in database
GPG key ID: C2403C69D78F011D

View file

@ -62,7 +62,7 @@ chrome.storage.local.get(["vocabulary", "kanji", "validUserLevel", "enabled", "e
var rtTag = rubyTags.item(tag).getElementsByTagName("rt").item(0)
if(vocabulary.includes(ruby.innerText))
rtTag.classList.add("furikani-vocabulary")
else if(kanji.includes(ruby.innerText))
if(kanji.includes(ruby.innerText))
rtTag.classList.add("furikani-kanji")
}
})