Fixed popup bug

This commit is contained in:
Sebastian Kupke 2022-11-08 15:44:20 +01:00
parent 8275dad36c
commit 34792f20d6

View File

@ -595,7 +595,11 @@ export default class Card {
// Prevents loading the link in the current tab. // Prevents loading the link in the current tab.
// 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') { if (editable && event.type == 'click') {
return false return false