We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78e462e commit e75d90dCopy full SHA for e75d90d
webcompat/static/js/lib/bugform.js
@@ -278,7 +278,7 @@ function BugForm() {
278
uploadWrapper.addClass('is-hidden');
279
removeBanner.on('click', _.bind(function() {
280
// clear out the input value, remove the preview and hide the banner
281
- this.uploadField.val(this.uploadField.get().defaultValue);
+ this.uploadField.val(this.uploadField.get(0).defaultValue);
282
label.css('background', 'none');
283
removeBanner.addClass('is-hidden');
284
uploadWrapper.removeClass('is-hidden');
0 commit comments