Skip to content

Commit

Permalink
updates for turbolinks 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gildo committed Feb 13, 2016
1 parent 45c34b7 commit 9fb0076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/jquery.infinite-pages.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Released under the MIT License
@$container.attr('data-jquery-infinite-pages-container', @instanceId)

# Setup the callback to handle turbolinks page loads
$(window.document).on("page:change", => @_recache())
$(window.document).on("turbolinks:load", => @_recache())

# Internal helper for logging messages
_log: (msg) ->
Expand Down

0 comments on commit 9fb0076

Please sign in to comment.