Skip to content

Commit

Permalink
Merge pull request #106 from m1x0n/spinner-fix
Browse files Browse the repository at this point in the history
Hot fix: fixed spinner
  • Loading branch information
m1x0n committed Aug 21, 2015
2 parents c0fcafb + adad668 commit 9d7aab4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/js/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ define(['app', 'progressbar'], function (App, ProgressBar) {
callback || name === 'login' && callback
) {
callback.apply(this, args);
if (Routes.spinner) {
Routes.spinner.destroy();
}
Routes.spinner = new ProgressBar.Line('#spinner', {
color: '#FCB03C',
svgStyle: {
Expand Down

0 comments on commit 9d7aab4

Please sign in to comment.