eslint is happy again
This commit is contained in:
parent
35ddc045e6
commit
d66c3b8576
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue