This commit is contained in:
Bruno Rybársky 2023-04-01 20:31:44 +02:00
parent 7ac1e8af9c
commit d41fb1edd1
No known key found for this signature in database
GPG Key ID: DFE2C061EF985CD4

@ -196,7 +196,7 @@ function showImages() {
if (emptyindex > -1){
let changingelement = $("#" + idcko);
changingelement.html(targetElement.html());
umami.trackEvent('Clicked sign', { type: 'clicksign', datacode: $(this).getAttribute("datacode") });
umami.trackEvent('Clicked sign', { type: 'clicksign', datacode: targetElement.getAttribute("datacode") });
}
}
@ -205,7 +205,7 @@ function showImages() {
let [emptyindex, idcko] = getEmptyIndex($(".finalletterplace"), this);
if (emptyindex > -1){
let changingelement = $("#" + idcko);
umami.trackEvent('Clicked letter', { type: 'clickletter', datacode: $(this).getAttribute("datacode") });
umami.trackEvent('Clicked letter', { type: 'clickletter', datacode: targetElement.getAttribute("datacode") });
changingelement.html(targetElement.html());
}