Skip to content

Commit d13c9c4

Browse files
Cyrille Bourgoisjleveugle
authored andcommitted
fix(line-progress): start nprogress before transition start
1 parent f91a07b commit d13c9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/ng-uirouter-line-progress/src/ng-uirouter-line-progress.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import NProgress from 'nprogress';
22

33
export default /* @ngInject */ ($transitions) => {
4-
$transitions.onStart({}, () => {
4+
$transitions.onBefore({}, () => {
55
NProgress.start();
66
});
77

0 commit comments

Comments
 (0)