Skip to content

Commit

Permalink
hot-fix-spinner: Fixed multiple spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
Antarus66 committed Aug 21, 2015
1 parent 39ed36f commit 71d2136
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 71d2136

Please sign in to comment.