lib/assets/javascript/init.js.coffee in initjs-2.0.0 vs lib/assets/javascript/init.js.coffee in initjs-2.1.0
- old
+ new
@@ -81,10 +81,10 @@
@App[name]() if @App and typeof @App[name] == 'function'
initApp: ->
@appName(@$infos())
Initjs.execFilter('initPage')
- @initialize()
+ @initialize() if !window.Turbolinks? || !Initjs.config('turbolinks') is true
jQuery ->
Initjs.initApp()
if window.Turbolinks? and Initjs.config('turbolinks') is true