Skip to content

Commit

Permalink
Set few timers to 0 for smoother UX
Browse files Browse the repository at this point in the history
  • Loading branch information
aTei committed Apr 29, 2015
1 parent 0ff294b commit a77920f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nprogress.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@
setTimeout(function() {
NProgress.remove();
next();
}, speed);
}, speed);
}, 0);
}, 0);
} else {
setTimeout(next, speed);
}
Expand Down

0 comments on commit a77920f

Please sign in to comment.