This only seams to work for the accordion but not responsive accordions tabs. Code Pen to demonstrate:https://codepen.io/jinch/pen/RQxQNG
//This code only collapses the "Reugular Accordion" and NOT a responsive Accordion? $('#regulare-accordion').foundation('up', $('#regulare-accordion .accordion-content')); //This code does not working for the the "Responsive Accordion Tab"? $('#responsive-tab-accordion').foundation('up', $('#responsive-tab-accordion .accordion-content'));
Does anyone know of a reason or solution if using the responsive tabs? I need to close all on small screens if possible.