Fix funbox bug

This commit is contained in:
Leonabcd123 2025-12-19 12:40:04 +02:00
parent 1f1e554c1b
commit d7bbd3ccb2

View file

@ -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();