Home › Forums › JavaScript › [Solved] Bootstrap collapse menu stays open › Reply To: [Solved] Bootstrap collapse menu stays open
January 11, 2016 at 2:50 am
#236582
Ilan Firsov
Participant
Change the
<ul class="list-group" class="collapse" ... >
to:
<ul class="list-group collapse" ... >
also change the aria-expanded
attribute to false
. Bootstrap’s JS should update it when expanding/collapsing but you should set it properly for the initial state