Skip to content

Commit

Permalink
Merge pull request #2403 from /issues/2298
Browse files Browse the repository at this point in the history
Fixes #2298 - Remove code dealing with non existant element wc-Form-helpInline
  • Loading branch information
zoepage authored Apr 17, 2018
2 parents d6d5a02 + 08fe461 commit 0c0307c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions webcompat/static/js/lib/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,6 @@ issues.ImageUploadView = Backbone.View.extend({
.removeClass("js-form-error")
.addClass("js-no-error");

// this can probably go as we do not have wc- styles anymore?
$(this.inputMap[id].elm)
.parents(".js-Form-group")
.find(".wc-Form-helpInline")
.remove();

if (this.inputMap[id].valid) {
this.enableSubmits();
}
Expand Down

0 comments on commit 0c0307c

Please sign in to comment.