You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
I was wondering why none of the foundation js was working, turned out the call to $.fn.foundation was happening before most of the dom elements were in place. Wrapping it in a document.ready fixed the issue. I'd be happy to make the change and issue a pull request if you'd like.
The text was updated successfully, but these errors were encountered:
This shouldn't be an issue, since the script is included in the footer. The only markup I can see that follows the script is the admin bar (if you're logged in). If you're not logged in, it's the last thing before </body>. Are you enqueueing app.js earlier?
I was wondering why none of the foundation js was working, turned out the call to $.fn.foundation was happening before most of the dom elements were in place. Wrapping it in a document.ready fixed the issue. I'd be happy to make the change and issue a pull request if you'd like.
The text was updated successfully, but these errors were encountered: