diff --git a/public/js/routes.js b/public/js/routes.js index d0c3ba4..fd0769a 100644 --- a/public/js/routes.js +++ b/public/js/routes.js @@ -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; }); } }