Skip to content

Commit

Permalink
extension: Don't explicitly check swfTakeover option initially
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjacobs committed Aug 5, 2024
1 parent eac3917 commit 8aa4ca9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/packages/extension/src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,10 @@ function onMessage(
}

(async () => {
const { ruffleEnable, swfTakeover } = await utils.getOptions();
const { ruffleEnable } = await utils.getOptions();
if (ruffleEnable) {
await enable();
}
if (!swfTakeover) {
await disableSWFTakeover();
}
})();

// Listeners must be registered synchronously at the top level,
Expand Down

0 comments on commit 8aa4ca9

Please sign in to comment.