Fixed touch event bug

This commit is contained in:
Sebastian Kupke 2022-11-09 16:09:22 +01:00
parent 2987b820a9
commit 5af350182d

View File

@ -176,7 +176,7 @@ export default class Card {
*/ */
static _replaceCallback(context, element, attributeVal) { static _replaceCallback(context, element, attributeVal) {
if (element.tagName == 'A') { if (element.tagName == 'A') {
element.addEventListener('pointerdown', (event) => { element.addEventListener('click', (event) => {
event.preventDefault() event.preventDefault()
}) })
} }