Skip to content

Commit

Permalink
Issue #1055. Include bmp and gif in the "remove image upload" regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Taylor committed May 20, 2016
1 parent da1e2a6 commit d365433
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 d365433

Please sign in to comment.