app/assets/javascripts/para/lib/turbolinks-loading.coffee in para-0.5.4 vs app/assets/javascripts/para/lib/turbolinks-loading.coffee in para-0.6.2
- old
+ new
@@ -18,8 +18,8 @@
# Global loading manager allowing to
Para.loadingManager = new Para.TurbolinksLoading()
$(document).on('page:fetch', Para.loadingManager.start)
-$(document).on 'page:change', ->
+$(document).on 'page:change turbolinks:load', ->
Para.loadingManager.stop()
$('body').on('submit', '[data-para-form]', Para.loadingManager.start)