Open philbuchanan opened 5 years ago
This will remove the flash of seeing all accordion item's content when the page is loading. Then swap the plugin to openItem() instead of closeItem() on load.
openItem()
closeItem()
Use the no-js CSS class to force them open in CSS:
no-js
.no-js .c-accordion__content { display: block !important; }
This will remove the flash of seeing all accordion item's content when the page is loading. Then swap the plugin to
openItem()
instead ofcloseItem()
on load.Use the
no-js
CSS class to force them open in CSS: