diff --git a/build/js/Treeview.js b/build/js/Treeview.js index 05fa1a8ed..53cefa4a4 100644 --- a/build/js/Treeview.js +++ b/build/js/Treeview.js @@ -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()