Merge pull request #5556 from CoolCu/master

Fix typo in comment
This commit is contained in:
Daniel
2024-05-15 18:03:40 +05:30
committed by GitHub

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)