slight bug in content
This commit is contained in:
parent
9d32fc5285
commit
569ec417ca
|
@ -62,7 +62,7 @@ chrome.storage.local.get(["vocabulary", "kanji", "validUserLevel", "enabled", "e
|
||||||
var rtTag = rubyTags.item(tag).getElementsByTagName("rt").item(0)
|
var rtTag = rubyTags.item(tag).getElementsByTagName("rt").item(0)
|
||||||
if(vocabulary.includes(ruby.innerText))
|
if(vocabulary.includes(ruby.innerText))
|
||||||
rtTag.classList.add("furikani-vocabulary")
|
rtTag.classList.add("furikani-vocabulary")
|
||||||
else if(kanji.includes(ruby.innerText))
|
if(kanji.includes(ruby.innerText))
|
||||||
rtTag.classList.add("furikani-kanji")
|
rtTag.classList.add("furikani-kanji")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue