From 9ae87698691174e9bb3e4d30e0d01ad6f34ef1ab Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Mon, 13 Jan 2020 20:08:06 +0000 Subject: [PATCH] inPopup did not always work --- popup.js | 6 +----- 1 file changed, 1 insertion(+), 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