Skip to content

Fix incorrect turbolinks event usage

Martin Mladenov requested to merge 385-fix-turbolinks-event-usage into development

Closes #385 (closed)

Turbolinks events, especially turbolinks:load, were incorrectly used across the application. turbolinks:load should generally only be used in .js files, not directly in views. Instead, the code in them can be called directly outside a function or inside a self-invoking anonymous function, which is necessarily placed after the affected elements.

Merge request reports