lint fixes
This commit is contained in:
parent
347b1d2910
commit
de910ee195
|
@ -35,7 +35,7 @@ export default class RuntimeBackground {
|
||||||
this.runtime.addEventListener('popover', (event: any) => {
|
this.runtime.addEventListener('popover', (event: any) => {
|
||||||
const win: Window = event.target.contentWindow;
|
const win: Window = event.target.contentWindow;
|
||||||
const href = win.location.origin + win.location.pathname;
|
const href = win.location.origin + win.location.pathname;
|
||||||
if(win.location.toString() === href) {
|
if (win.location.toString() === href) {
|
||||||
win.location.reload();
|
win.location.reload();
|
||||||
} else {
|
} else {
|
||||||
win.location.href = href;
|
win.location.href = href;
|
||||||
|
|
|
@ -52,7 +52,7 @@ class BrowserApi {
|
||||||
windowId: winIndex,
|
windowId: winIndex,
|
||||||
title: tab.title,
|
title: tab.title,
|
||||||
active: tab === tab.browserWindow.activeTab,
|
active: tab === tab.browserWindow.activeTab,
|
||||||
url: tab.url || 'about:blank'
|
url: tab.url || 'about:blank',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue