From 9cfe8c5a7385c5684b2b0077ae8b670817704cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 1 Apr 2023 21:06:21 +0200 Subject: [PATCH] fix bug --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(""); });