a much more natural feel for progress indicator

inspired by youtube
main
psychobunny 10 years ago
parent d98f2be1b6
commit 413a1facf3

@ -42,15 +42,7 @@ $(document).ready(function() {
$('.navbar-header button').click();
}
NProgress.start();
});
$(window).on('action:ajaxify.loadingData', function() {
NProgress.set(0.4);
});
$(window).on('action:ajaxify.dataLoaded', function() {
NProgress.set(0.8);
NProgress.set(0.7);
});
$(window).on('action:ajaxify.end', function() {

Loading…
Cancel
Save