From 24f1923b1b55f142c39364c88a57b2a1b90d3972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=9C=C9=B4=D0=B2=CA=8F=D1=82=E1=B4=87?= Date: Tue, 18 Aug 2020 22:17:00 +0800 Subject: [PATCH] fix: open two same tabs on firefox (#19632) close #19629 --- packages/react-devtools-extensions/popups/shared.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-devtools-extensions/popups/shared.js b/packages/react-devtools-extensions/popups/shared.js index ddb0456e5bbf3..53b2bc1d16e22 100644 --- a/packages/react-devtools-extensions/popups/shared.js +++ b/packages/react-devtools-extensions/popups/shared.js @@ -11,6 +11,7 @@ document.addEventListener('DOMContentLoaded', function() { const location = ln.href; ln.onclick = function() { chrome.tabs.create({active: true, url: location}); + return false; }; })(); }