Преглед изворни кода

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)