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