Merge pull request #5556 from CoolCu/master

Fix typo in comment
pull/5577/head
Daniel 2024-05-15 18:03:40 +05:30 committed by GitHub
commit fe8e2ddc27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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)