Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Jun 30, 2024
1 parent 93f7c6e commit db1d4cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import addDomainPermissionToggle from 'webext-permission-toggle';
import oneEvent from 'one-event';
import optionsStorage from './options-storage.js';

const browser = globalThis.chrome ??globalThis.chrome;
const browser = globalThis.chrome ?? globalThis.chrome;

// Firefox hates iframes on activeTab
// https://bugzilla.mozilla.org/show_bug.cgi?id=1653408
Expand Down Expand Up @@ -188,7 +188,7 @@ function init() {
color: '#008040',
});

chrome.runtime.onInstalled.addListener(async ({reason}) => {
browser.runtime.onInstalled.addListener(async ({reason}) => {
// Only notify on install
if (reason === 'install') {
const {installType} = await browser.management.getSelf();
Expand Down

0 comments on commit db1d4cb

Please sign in to comment.