diff --git a/index.js b/index.js index ca2f3bf..ad8acdb 100644 --- a/index.js +++ b/index.js @@ -213,7 +213,7 @@ function showImages() { }); $(".finalplace").on("click", function (){ - umami.trackEvent('Clicked clear', { type: 'clickclear', datacode: $(this).children()[0].attr("datacode") }); + umami.trackEvent('Clicked clear', { type: 'clickclear', datacode: $(this).children()[0].getAttribute("datacode") }); $(this).html(""); });