Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
Signed-off-by: CoolCu <coolcui@qq.com>
  • Loading branch information
CoolCu committed Apr 16, 2024
1 parent 06b4e04 commit a1d87d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a1d87d9

Please sign in to comment.