From c2aad64e00db08815f70a7d77ee84c490fdcdab6 Mon Sep 17 00:00:00 2001 From: Helios Date: Tue, 18 Aug 2020 13:29:19 +0800 Subject: [PATCH] fix: open two same tabs on firefox 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; }; })(); }