Skip to content

Commit

Permalink
Merge pull request #32 from bbottema/fix_loader-bar_progression
Browse files Browse the repository at this point in the history
Progression bar not calculated correctly for consecutive calls within the 500ms delay
  • Loading branch information
chieffancypants committed Dec 27, 2013
2 parents 95c8892 + 0d9642f commit f214de0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/loading-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ angular.module('chieffancypants.loadingBar', [])
cfpLoadingBar.start();
}
reqsTotal++;
cfpLoadingBar.set(reqsCompleted / reqsTotal);
}
return config;
},
Expand Down

0 comments on commit f214de0

Please sign in to comment.