1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

lint fixes

This commit is contained in:
Kyle Spearrin 2018-01-12 13:27:40 -05:00
parent 347b1d2910
commit de910ee195
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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',
});
});