Skip to content

Instantly share code, notes, and snippets.

@TheZoker
Created September 13, 2015 22:55
Show Gist options
  • Save TheZoker/f3b7b326706bcb41a502 to your computer and use it in GitHub Desktop.
Save TheZoker/f3b7b326706bcb41a502 to your computer and use it in GitHub Desktop.
$(document).on('pjax:send', function() {
Pace.restart();
})
$(document).on('pjax:complete', function() {
Pace.stop();
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment