mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
Get data-id
This commit is contained in:
parent
92acf8dc9d
commit
dd1b9d4d5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue