From d66c3b8576b0387983c7516077560f8bb0c28009 Mon Sep 17 00:00:00 2001 From: baku Date: Tue, 28 Feb 2017 18:32:38 +0100 Subject: [PATCH] eslint is happy again --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 20c3806..43aeb83 100644 --- a/index.js +++ b/index.js @@ -784,7 +784,7 @@ const ContainerService = { } else { this._recentBrowserWindow().then(browserWin => { resolve(browserWin); - }); + }).catch(() => {}); } }).then(browserWin => { const userContextId = ("userContextId" in args) ? args.userContextId : 0; @@ -1284,7 +1284,7 @@ ContainerWindow.prototype = { source: "alltabs-menu", window: this._window, }); - }); + }).catch(() => {}); }); }, @@ -1300,7 +1300,7 @@ ContainerWindow.prototype = { // next FF releases. 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({ userContextId, nofocus: true,