Fix typo in comment

Signed-off-by: CoolCu <coolcui@qq.com>
This commit is contained in:
CoolCu
2024-04-16 15:47:22 +08:00
parent 06b4e04d8b
commit a1d87d9d4f

View File

@@ -83,7 +83,7 @@ const slideDown = (target: HTMLElement, duration = 500) => {
}, duration)
}
/* TOOGLE */
/* TOGGLE */
const slideToggle = (target: HTMLElement, duration = 500) => {
if (window.getComputedStyle(target).display === 'none') {
slideDown(target, duration)