Explorar el Código

Merge pull request #5556 from CoolCu/master

Fix typo in comment
Daniel hace 10 meses
padre
commit
fe8e2ddc27
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)