fix2
This commit is contained in:
parent
d41fb1edd1
commit
c256a7f68e
6
index.js
6
index.js
@ -196,7 +196,7 @@ function showImages() {
|
|||||||
if (emptyindex > -1){
|
if (emptyindex > -1){
|
||||||
let changingelement = $("#" + idcko);
|
let changingelement = $("#" + idcko);
|
||||||
changingelement.html(targetElement.html());
|
changingelement.html(targetElement.html());
|
||||||
umami.trackEvent('Clicked sign', { type: 'clicksign', datacode: targetElement.getAttribute("datacode") });
|
umami.trackEvent('Clicked sign', { type: 'clicksign', datacode: targetElement.attr("datacode") });
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -205,7 +205,7 @@ function showImages() {
|
|||||||
let [emptyindex, idcko] = getEmptyIndex($(".finalletterplace"), this);
|
let [emptyindex, idcko] = getEmptyIndex($(".finalletterplace"), this);
|
||||||
if (emptyindex > -1){
|
if (emptyindex > -1){
|
||||||
let changingelement = $("#" + idcko);
|
let changingelement = $("#" + idcko);
|
||||||
umami.trackEvent('Clicked letter', { type: 'clickletter', datacode: targetElement.getAttribute("datacode") });
|
umami.trackEvent('Clicked letter', { type: 'clickletter', datacode: targetElement.attr("datacode") });
|
||||||
changingelement.html(targetElement.html());
|
changingelement.html(targetElement.html());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ function showImages() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(".finalplace").on("click", function (){
|
$(".finalplace").on("click", function (){
|
||||||
umami.trackEvent('Clicked clear', { type: 'clickclear', datacode: $(this).children()[0].getAttribute("datacode") });
|
umami.trackEvent('Clicked clear', { type: 'clickclear', datacode: $(this).children()[0].attr("datacode") });
|
||||||
$(this).html("");
|
$(this).html("");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user