added response to content listener
This commit is contained in:
parent
b3b47b464f
commit
1f5452b98a
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "FuriKani",
|
||||
"description": "Removes furigana on websites based on your WaniKani level",
|
||||
"version": "0.5",
|
||||
"version": "0.5.1",
|
||||
"manifest_version": 3,
|
||||
"action": {
|
||||
"default_popup": "popup.html"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<body>
|
||||
<header>
|
||||
<h1>FuriKani</h1>
|
||||
<h2>v0.5</h2>
|
||||
<h2>v0.5.1</h2>
|
||||
</header>
|
||||
|
||||
<div id="token-area">
|
||||
|
|
|
@ -83,6 +83,8 @@ chrome.runtime.onMessage.addListener((msg, sender, sendResponse) => {
|
|||
|
||||
vocabStyleSheet.innerHTML = data.enabledVocab ? vocabStyle : ""
|
||||
kanjiStyleSheet.innerHTML = data.enabledKanji ? kanjiStyle : ""
|
||||
|
||||
sendResponse(true)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue