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