From a41eb060af1e0019a4e68335ce6f65ebe00b4de7 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 25 May 2016 18:02:39 -0500 Subject: [PATCH] Issue #1063. Hide upload spinner in the case of an error. --- webcompat/static/js/lib/issues.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webcompat/static/js/lib/issues.js b/webcompat/static/js/lib/issues.js index 0f57c55ef..1740561ea 100644 --- a/webcompat/static/js/lib/issues.js +++ b/webcompat/static/js/lib/issues.js @@ -216,6 +216,7 @@ issues.ImageUploadView = Backbone.View.extend({ error: function() { var msg = 'There was an error trying to upload the image.'; wcEvents.trigger('flash:error', {message: msg, timeout: 4000}); + this._loaderImage.hide(); } }); }