eslint is happy again

This commit is contained in:
baku 2017-02-28 18:32:38 +01:00
parent 35ddc045e6
commit d66c3b8576

View file

@ -784,7 +784,7 @@ const ContainerService = {
} else { } else {
this._recentBrowserWindow().then(browserWin => { this._recentBrowserWindow().then(browserWin => {
resolve(browserWin); resolve(browserWin);
}); }).catch(() => {});
} }
}).then(browserWin => { }).then(browserWin => {
const userContextId = ("userContextId" in args) ? args.userContextId : 0; const userContextId = ("userContextId" in args) ? args.userContextId : 0;
@ -1284,7 +1284,7 @@ ContainerWindow.prototype = {
source: "alltabs-menu", source: "alltabs-menu",
window: this._window, window: this._window,
}); });
}); }).catch(() => {});
}); });
}, },
@ -1300,7 +1300,7 @@ ContainerWindow.prototype = {
// next FF releases. // next FF releases.
this._window.gContextMenu.openLinkInTab(e); this._window.gContextMenu.openLinkInTab(e);
let userContextId = parseInt(e.target.getAttribute('data-usercontextid'), 10); const userContextId = parseInt(e.target.getAttribute("data-usercontextid"), 10);
ContainerService.showTabs({ ContainerService.showTabs({
userContextId, userContextId,
nofocus: true, nofocus: true,