Skip to content

Commit

Permalink
Merge pull request #1056 from /issues/1055/1
Browse files Browse the repository at this point in the history
Fixes #1055. Include bmp and gif in the "remove image upload" regex.
  • Loading branch information
adamopenweb committed May 20, 2016
2 parents da1e2a6 + d365433 commit c2ec089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webcompat/static/js/lib/bugform.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function BugForm() {
// Note: this could fail in weird ways depending on how
// the user has edited the descField.
this.descField.val(function(idx, value) {
return value.replace(/!\[.+\.jpe*g\)$/, '');
return value.replace(/!\[.+\.(?:bmp|gif|jpe*g*)\)$/, '');
});
}, this));
};
Expand Down

0 comments on commit c2ec089

Please sign in to comment.