diff --git a/public/js/routes.js b/public/js/routes.js index fd0769a..7542f80 100644 --- a/public/js/routes.js +++ b/public/js/routes.js @@ -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: {