Skip to content

Commit

Permalink
Prevented options from opening on update
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyBranton committed Jul 29, 2021
1 parent 548d110 commit cb05864
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions firefox/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit cb05864

Please sign in to comment.