I have looked through all the javascript and made some changes. Issue is that Turbolinks only evaluates the js on the initial page load, but when following links. Thus binding to DOMContentLoaded or window.onload wont work. You have either use event delegation (which they recommend) or bind to turbolinks:load like so
I have looked through all the javascript and made some changes. Issue is that Turbolinks only evaluates the js on the initial page load, but when following links. Thus binding to
DOMContentLoaded
orwindow.onload
wont work. You have either use event delegation (which they recommend) or bind toturbolinks:load
like soThere still still something wrong with timeline.js.coffee. Doesn't work 😞
How to test:
@bendobos wanna look into the issues with the timeline? Would be cool if we could get it working again 😊
Missing