From adad668108d8e35fd78d712bd7c43fed5d116abf Mon Sep 17 00:00:00 2001 From: devilrep Date: Fri, 21 Aug 2015 15:38:31 +0300 Subject: [PATCH] Hot fix: fixed spinner --- public/js/routes.js | 3 +++ 1 file changed, 3 insertions(+) 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: {