瀏覽代碼

Fix typo in comment

Signed-off-by: CoolCu <coolcui@qq.com>
CoolCu 11 月之前
父節點
當前提交
a1d87d9d4f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/ts/util/index.ts

+ 1 - 1
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)