This commit is contained in:
tophf 2020-02-20 19:05:33 +03:00
parent 27e2e0a14d
commit f9e691e332

View File

@ -278,7 +278,7 @@ function openURL({
}); });
function createTabWithOpener(openerTab, options) { function createTabWithOpener(openerTab, options) {
const id = openerTabId == null ? openerTab.id : openerTabId; const id = openerTabId == null ? openerTab.id : openerTabId;
if (id !== null && !openerTab.incognito && openerTabIdSupported) { if (id != null && !openerTab.incognito && openerTabIdSupported) {
options.openerTabId = id; options.openerTabId = id;
} }
return createTab(options); return createTab(options);