Get data-id

This commit is contained in:
Leonabcd123 2025-12-19 11:23:09 +02:00
parent 92acf8dc9d
commit dd1b9d4d5e

View file

@ -1093,7 +1093,7 @@ qs(".pageAccount")?.onChild(
const target = new ElementWithUtils(event.currentTarget as HTMLElement);
const resultId: string = target
.getFirstMatchingParent("tr")
?.getAttribute("id") as string;
?.getAttribute("data-id") as string;
if (target.hasClass("loading")) return;
if (target.hasClass("disabled")) return;