mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-12 10:24:20 +08:00
Fix funbox bug
This commit is contained in:
parent
1f1e554c1b
commit
d7bbd3ccb2
1 changed files with 1 additions and 1 deletions
|
|
@ -784,7 +784,7 @@ qs(".pageSettings .section[data-config-name='funbox'] .buttons")?.onChild(
|
|||
"click",
|
||||
"button",
|
||||
(e) => {
|
||||
const target = e.currentTarget as HTMLElement;
|
||||
const target = e.target as HTMLElement;
|
||||
const funbox = target?.getAttribute("data-config-value") as FunboxName;
|
||||
Funbox.toggleFunbox(funbox);
|
||||
setActiveFunboxButton();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue