aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOfficial Noob <[email protected]>2020-01-13 20:08:06 +0000
committerGitHub <[email protected]>2020-01-13 20:08:06 +0000
commit9ae87698691174e9bb3e4d30e0d01ad6f34ef1ab (patch)
tree19ef0e502075536697a425b77f779d4dbe545126
parentf58a16179a6f3af9d363dbe0d2f1893095043d8c (diff)
downloadSponsorBlock-9ae87698691174e9bb3e4d30e0d01ad6f34ef1ab.tar.gz
SponsorBlock-9ae87698691174e9bb3e4d30e0d01ad6f34ef1ab.zip
inPopup did not always work
-rw-r--r--popup.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/popup.js b/popup.js
index f8958050..af594e1b 100644
--- a/popup.js
+++ b/popup.js
@@ -831,11 +831,7 @@ async function runThePopup() {
//make the options div visible
function openOptions() {
- if(inPopup) {
- chrome.runtime.openOptionsPage();
- } else {
- chrome.runtime.sendMessage({"message": "openConfig"});
- }
+ chrome.runtime.sendMessage({"message": "openConfig"});
}
//make the options username setting option visible