Browse Source

Fix typo in comment

Signed-off-by: CoolCu <coolcui@qq.com>
pull/5556/head
CoolCu 7 months ago
parent
commit
a1d87d9d4f
  1. 2
      src/ts/util/index.ts

2
src/ts/util/index.ts

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

Loading…
Cancel
Save