mirror of https://github.com/ColorlibHQ/AdminLTE
fixed sidebar collapse bug after autoCollapse feature
parent
9b03b865ad
commit
b8ffeb2d5d
|
@ -81,7 +81,6 @@ const PushMenu = (($) => {
|
|||
} else {
|
||||
return $(Selector.BODY).hasClass(ClassName.OPEN)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
toggle() {
|
||||
|
@ -140,7 +139,7 @@ const PushMenu = (($) => {
|
|||
$(this).data(DATA_KEY, data)
|
||||
}
|
||||
|
||||
if (operation === 'init') {
|
||||
if (operation === 'toggle') {
|
||||
data[operation]()
|
||||
}
|
||||
})
|
||||
|
|
|
@ -509,7 +509,7 @@ var PushMenu = function ($) {
|
|||
$(this).data(DATA_KEY, data);
|
||||
}
|
||||
|
||||
if (operation === 'init') {
|
||||
if (operation === 'toggle') {
|
||||
data[operation]();
|
||||
}
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue