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 Jul 28, 2018. It is now read-only.
What if there is no script tag though? My code is in application.js. And what about all the baked in bootstrap code? Popovers, Tooltips, Modals, etc...
My solution was to just place your code in a script tag with data-turbolinks-eval=always on the bottom of your application.html.erb, and remove the jQuery onready. Then any js in there is fired even when using back or forward.
After the user hits the back button, none of my JS is firing...all my bootstrap stuff, and also my mobile fly-out menu:
I have jquery.turbolinks set up correctly as far as I know.
Has anyone else experienced this?
The text was updated successfully, but these errors were encountered: