diff options
author | Official Noob <[email protected]> | 2020-01-13 20:08:06 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-13 20:08:06 +0000 |
commit | 9ae87698691174e9bb3e4d30e0d01ad6f34ef1ab (patch) | |
tree | 19ef0e502075536697a425b77f779d4dbe545126 | |
parent | f58a16179a6f3af9d363dbe0d2f1893095043d8c (diff) | |
download | SponsorBlock-9ae87698691174e9bb3e4d30e0d01ad6f34ef1ab.tar.gz SponsorBlock-9ae87698691174e9bb3e4d30e0d01ad6f34ef1ab.zip |
inPopup did not always work
-rw-r--r-- | popup.js | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |