From 34792f20d6c326d0cc2c1baf9402c6e8b48ab98f Mon Sep 17 00:00:00 2001 From: Sebastian Kupke Date: Tue, 8 Nov 2022 15:44:20 +0100 Subject: [PATCH] Fixed popup bug --- lib/card/card.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/card/card.js b/lib/card/card.js index c6f7a96..5b4decc 100644 --- a/lib/card/card.js +++ b/lib/card/card.js @@ -595,7 +595,11 @@ export default class Card { // Prevents loading the link in the current tab. // Prevents loading the link in the current tab. - if (event.type != 'Follow') event.preventDefault() + if (event.type != 'Follow') { + event.preventDefault() + event.stopPropagation() + event.stopImmediatePropagation() + } if (editable && event.type == 'click') { return false