Skip to content

Commit

Permalink
Merge pull request #105 from m1x0n/hot-fix-spinner
Browse files Browse the repository at this point in the history
hot-fix-spinner: Fixed multiple spinner
  • Loading branch information
m1x0n committed Aug 21, 2015
2 parents a35bf0d + 71d2136 commit c0fcafb
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 @@ -30,6 +30,9 @@ define(['app', 'progressbar'], function (App, ProgressBar) {
Routes.spinner.animate(1.0, {
duration: 2000,
easing: 'easeOut'
}, function () { // Callback on animation finish
Routes.spinner.destroy();
Routes.spinner = null;
});
}
}
Expand Down

0 comments on commit c0fcafb

Please sign in to comment.