mirror of https://github.com/ColorlibHQ/AdminLTE
Reuse variable
parent
e56939983d
commit
cb85af826e
|
@ -46,7 +46,7 @@ const Dropdown = ($ => {
|
|||
this._element.siblings().show().toggleClass('show')
|
||||
|
||||
if (!this._element.next().hasClass('show')) {
|
||||
this._element.parents('.dropdown-menu').first().find('.show').removeClass('show').hide()
|
||||
this._element.parents(Selector.DROPDOWN_MENU).first().find('.show').removeClass('show').hide()
|
||||
}
|
||||
|
||||
this._element.parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', () => {
|
||||
|
|
Loading…
Reference in New Issue