mirror of https://github.com/ColorlibHQ/AdminLTE
parent
06b4e04d8b
commit
a1d87d9d4f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue