From 1071bf277fdef0c46e3776e4fd0a357a5178b323 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Fri, 20 Nov 2015 21:59:28 -0800 Subject: [PATCH] Remove spinner on Updater check if failed --- themes/grav/js/admin-all.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/grav/js/admin-all.js b/themes/grav/js/admin-all.js index b3ef7d64..1c2e1e27 100644 --- a/themes/grav/js/admin-all.js +++ b/themes/grav/js/admin-all.js @@ -407,6 +407,8 @@ $(function () { if (options.callback && typeof options.callback == 'function') options.callback(response); } + }).always(function() { + $('[data-gpm-checkupdates]').find('i').removeClass('fa-spin'); }); };