mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
Use currentTarget
This commit is contained in:
parent
992ba7c9d8
commit
5cc8325baf
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ qs(
|
|||
});
|
||||
|
||||
qsa(".pageSettings .quickNav .links a")?.on("click", (e) => {
|
||||
const target = e.target as HTMLElement;
|
||||
const target = e.currentTarget as HTMLElement;
|
||||
const settingsGroup = target.innerText;
|
||||
const isClosed = qs(
|
||||
`.pageSettings .settingsGroup.${settingsGroup}`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue