I am using Zurb Foundation in my Meteor app. When I click a link and am taken to a page, the Foundation tabs and accordions do not work–nothing happens when I click on them. But after I refresh the page the tabs and accordions work like normal. Does anyone know what is going on and how I can fix this problem?
Unfortunately my app is located on my local machine right now, so I don’t have a demo to show you.
Thank you for your help!
The problem that I had was that I was calling the following function on my main layout template only:
.foundation() function for the corresponding templates.
So what did the final template code look like? Was it still $(document).foundation(); but in each template or did you use a different selector?