فهرست منبع

Merge pull request #5556 from CoolCu/master

Fix typo in comment
Daniel 10 ماه پیش
والد
کامیت
fe8e2ddc27
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)