From a1d87d9d4f3f50bbbe2fa9d03cac3a0239c59781 Mon Sep 17 00:00:00 2001 From: CoolCu Date: Tue, 16 Apr 2024 15:47:22 +0800 Subject: [PATCH] Fix typo in comment Signed-off-by: CoolCu --- src/ts/util/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/util/index.ts b/src/ts/util/index.ts index 5e5447b08ef..5ff9fd2bb49 100644 --- a/src/ts/util/index.ts +++ b/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)