Browse Source

initialize parallax js on page ready

responsive
Georg Hopp 9 years ago
parent
commit
db964b4efc
  1. 3
      app/assets/javascripts/parallax.coffee

3
app/assets/javascripts/parallax.coffee

@ -49,6 +49,9 @@ App.scroll = ->
$(document).on "page:change", -> $(document).on "page:change", ->
App.init() App.init()
$(document).ready ->
App.init()
#$(window).on "scroll", -> #$(window).on "scroll", ->
# App.scroll() # App.scroll()

Loading…
Cancel
Save