diff --git a/src/background/runtime.background.ts b/src/background/runtime.background.ts index 352a1fd3c6..50724a3b9c 100644 --- a/src/background/runtime.background.ts +++ b/src/background/runtime.background.ts @@ -35,7 +35,7 @@ export default class RuntimeBackground { this.runtime.addEventListener('popover', (event: any) => { const win: Window = event.target.contentWindow; const href = win.location.origin + win.location.pathname; - if(win.location.toString() === href) { + if (win.location.toString() === href) { win.location.reload(); } else { win.location.href = href; diff --git a/src/browser/browserApi.ts b/src/browser/browserApi.ts index 185a89f9ba..7a9ad88a47 100644 --- a/src/browser/browserApi.ts +++ b/src/browser/browserApi.ts @@ -52,7 +52,7 @@ class BrowserApi { windowId: winIndex, title: tab.title, active: tab === tab.browserWindow.activeTab, - url: tab.url || 'about:blank' + url: tab.url || 'about:blank', }); });