Skip to content

Commit

Permalink
Merge pull request #5556 from CoolCu/master
Browse files Browse the repository at this point in the history
Fix typo in comment
  • Loading branch information
danny007in committed May 15, 2024
2 parents c965e05 + a1d87d9 commit fe8e2dd
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 fe8e2dd

Please sign in to comment.