mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
Use currentTarget
This commit is contained in:
parent
573b262e25
commit
992ba7c9d8
1 changed files with 1 additions and 1 deletions
|
|
@ -831,7 +831,7 @@ qs("#exportSettingsButton")?.on("click", () => {
|
|||
});
|
||||
|
||||
qsa(".pageSettings .sectionGroupTitle")?.on("click", (e) => {
|
||||
const target = e.target as HTMLElement;
|
||||
const target = e.currentTarget as HTMLElement;
|
||||
toggleSettingsGroup(target.getAttribute("group") as string);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue