Execute JS code (using jQuery) with and without Turbolinks -
i'd execute code (using jquery) when page loading. want work , without turbolinks.
for turbolinks, code following :
document.addeventlistener("turbolinks:load", function() { // ... })
what have modify make work without turbolinks too?
thank you
Comments
Post a Comment