diff --git a/js/messaging.js b/js/messaging.js index bd78da47..6efd992c 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -278,7 +278,7 @@ function openURL({ }); function createTabWithOpener(openerTab, options) { const id = openerTabId == null ? openerTab.id : openerTabId; - if (id !== null && !openerTab.incognito && openerTabIdSupported) { + if (id != null && !openerTab.incognito && openerTabIdSupported) { options.openerTabId = id; } return createTab(options);