I'm trying to observe the page:load event "fired" by turbo links, and it's not working for me. When the body is replaced by turbo links in Rails 4.1, it's supposed to fire the page:load event at the very end. But this works:
document.addEventListener('page:load', decorate_markdown); while this: document.observe('page:load', decorate_markdown); does not. I haven't found anything conclusive about this on Google or the GitHub issues for Turbolinks. Other people have complained about the integration with jQuery's ready() method, so I suspect there is something funny here. Walter -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scriptaculous+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at http://groups.google.com/group/prototype-scriptaculous. For more options, visit https://groups.google.com/d/optout.