Menu icon Foundation
Close active accordion submenu when another submenu is opened

I'm using Foundation 6 accordion menu in off-canvas and need to close the active submenu when a new submenu is clicked. 

I need to launch this project ASAP and the client just made this request.

https://beta2.k2thechurch.com/

Thanks!

menuaccordionjsdropdownactive

I'm using Foundation 6 accordion menu in off-canvas and need to close the active submenu when a new submenu is clicked. 

I need to launch this project ASAP and the client just made this request.

https://beta2.k2thechurch.com/

Thanks!

Rafi Benkual almost 2 years ago

 There appears to be a data attribute for this: data-multi-open="false", add this the ul