From 569ec417ca790f12eb756c4c95bb4c53994bc680 Mon Sep 17 00:00:00 2001 From: Lauchmelder Date: Sun, 20 Mar 2022 17:44:42 +0100 Subject: [PATCH] slight bug in content --- src/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.js b/src/content.js index c2aa766..7af3d0a 100644 --- a/src/content.js +++ b/src/content.js @@ -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") } })