mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 03:20:46 +08:00
Fix tags bug
This commit is contained in:
parent
d7bbd3ccb2
commit
82eaa84209
1 changed files with 1 additions and 1 deletions
|
|
@ -796,7 +796,7 @@ qs(".pageSettings .section.tags")?.onChild(
|
|||
"click",
|
||||
".tagsList .tag .tagButton",
|
||||
(e) => {
|
||||
const target = e.currentTarget as HTMLElement;
|
||||
const target = e.target as HTMLElement;
|
||||
const tagid = target.parentElement?.getAttribute("data-id") as string;
|
||||
TagController.toggle(tagid);
|
||||
target.classList.toggle("active");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue