From cb0586444da31c26d0daa1d297c7b50b54d27fed Mon Sep 17 00:00:00 2001 From: Wesley Branton Date: Wed, 28 Jul 2021 22:06:54 -0400 Subject: [PATCH] Prevented options from opening on update --- firefox/background.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/firefox/background.js b/firefox/background.js index 6c24689..c37cad5 100644 --- a/firefox/background.js +++ b/firefox/background.js @@ -62,9 +62,6 @@ async function checkData() { function handleInstalled(details) { if (details.reason == 'install') { browser.runtime.openOptionsPage(); - } else if (details.reason == 'update') { - const { version } = browser.runtime.getManifest(); - if (version == details.previousVersion) browser.runtime.openOptionsPage(); } }