inPopup did not always work

This commit is contained in:
Official Noob
2020-01-13 20:08:06 +00:00
committed by GitHub
parent f58a16179a
commit 9ae8769869

View File

@@ -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