Skip to content

Commit

Permalink
Fix: event page doesn't load on startup?
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Oct 29, 2021
1 parent 114166d commit dafde83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chrome/event-page.js
Expand Up @@ -10,6 +10,8 @@ if (chrome.commands) {

platform.on('optionChange', updateBrowserAction, {runNow: true});

browser.runtime.onStartup.addListener(updateBrowserAction);

async function updateBrowserAction(changes) {
if (!changes) {
changes = await platform.getOptions();
Expand Down

0 comments on commit dafde83

Please sign in to comment.