Fix typo in comment

Signed-off-by: CoolCu <coolcui@qq.com>
pull/5556/head
CoolCu 2024-04-16 15:47:22 +08:00
parent 06b4e04d8b
commit a1d87d9d4f
1 changed files with 1 additions and 1 deletions

View File

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