mirror of https://github.com/ColorlibHQ/AdminLTE
fix Closing parent in Treeview closes descendants, but "arrow" icon is not changed properly (#3647)
* fix #3643 * added extra line * remove extra spacepull/3779/head
parent
6b81679a21
commit
3ac53de622
|
@ -80,6 +80,7 @@ class Treeview {
|
|||
const collapsedEvent = $.Event(EVENT_COLLAPSED)
|
||||
|
||||
parentLi.removeClass(`${CLASS_NAME_IS_OPENING} ${CLASS_NAME_OPEN}`)
|
||||
parentLi.find(SELECTOR_LI).removeClass(`${CLASS_NAME_IS_OPENING} ${CLASS_NAME_OPEN}`)
|
||||
treeviewMenu.stop().slideUp(this._config.animationSpeed, () => {
|
||||
$(this._element).trigger(collapsedEvent)
|
||||
treeviewMenu.find(`${SELECTOR_OPEN} > ${SELECTOR_TREEVIEW_MENU}`).slideUp()
|
||||
|
|
Loading…
Reference in New Issue