Skip to content

Commit

Permalink
Issue #1063. Hide upload spinner in the case of an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Taylor committed May 25, 2016
1 parent 007f3d0 commit a41eb06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webcompat/static/js/lib/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
});
}
Expand Down

0 comments on commit a41eb06

Please sign in to comment.