From fed3b5825681b77ee66c72e3e78da4bfcbc6751c Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Mon, 21 Jun 2021 11:21:03 +1000 Subject: [PATCH] Fix for duplicat tab opens in Chrome --- src/drivers/webextension/js/popup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/webextension/js/popup.js b/src/drivers/webextension/js/popup.js index 2b3318563..ab27a9b35 100644 --- a/src/drivers/webextension/js/popup.js +++ b/src/drivers/webextension/js/popup.js @@ -301,6 +301,7 @@ const Popup = { Array.from(document.querySelectorAll('a')).forEach((a) => a.addEventListener('click', (event) => { event.preventDefault() + event.stopPropagation() open(a.href) @@ -461,6 +462,7 @@ const Popup = { Array.from(document.querySelectorAll('a')).forEach((a) => a.addEventListener('click', (event) => { event.preventDefault() + event.stopPropagation() open(a.href)