Browse Source

Fix typo in comment

Signed-off-by: CoolCu <coolcui@qq.com>
CoolCu 11 tháng trước cách đây
mục cha
commit
a1d87d9d4f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)