From afcd8ebcf473703180572d3bb077e16046d97d20 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 20 Apr 2021 07:21:58 +0300 Subject: [PATCH] prevent FF from double-handling clicks, fixes #1232 --- manage/events.js | 1 + 1 file changed, 1 insertion(+) diff --git a/manage/events.js b/manage/events.js index 826807e2..e438ff11 100644 --- a/manage/events.js +++ b/manage/events.js @@ -87,6 +87,7 @@ const Events = { async external(event) { // Not handling Shift-click - the built-in 'open in a new window' command if (getEventKeyName(event) !== 'Shift-MouseL') { + event.preventDefault(); // Prevent FF from double-handling the event const {index} = await getOwnTab(); openURL({ url: event.target.closest('a').href,