From 1f5452b98a4d8b1eaaa2cc3ee10d41c9a964e827 Mon Sep 17 00:00:00 2001 From: Lauchmelder Date: Sun, 20 Mar 2022 17:16:36 +0100 Subject: [PATCH] added response to content listener --- manifest.json | 2 +- popup.html | 2 +- src/content.js | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 7fec1e1..362a471 100644 --- a/manifest.json +++ b/manifest.json @@ -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" diff --git a/popup.html b/popup.html index 7e88ce7..c19e5a1 100644 --- a/popup.html +++ b/popup.html @@ -6,7 +6,7 @@

FuriKani

-

v0.5

+

v0.5.1

diff --git a/src/content.js b/src/content.js index 3c1605a..c2aa766 100644 --- a/src/content.js +++ b/src/content.js @@ -83,6 +83,8 @@ chrome.runtime.onMessage.addListener((msg, sender, sendResponse) => { vocabStyleSheet.innerHTML = data.enabledVocab ? vocabStyle : "" kanjiStyleSheet.innerHTML = data.enabledKanji ? kanjiStyle : "" + + sendResponse(true) }) }