upload_widget: Remove a spurious argument.

This call refers to the `accept` function on [line
118](85c3f59292/static/js/upload_widget.js (L118)),
which takes no arguments (unlike the `accept` function on [line
33](85c3f59292/static/js/upload_widget.js (L33)),
which takes one argument, but isn't in scope here).
This commit is contained in:
Max Schaefer
2017-08-22 15:33:20 +01:00
committed by Tim Abbott
parent 1e4283aabf
commit bbe87231cd

View File

@@ -152,7 +152,7 @@ var upload_widget = (function () {
input_error.show();
clear();
} else {
accept(file);
accept();
}
} else {
input_error.text(i18n.t('Please just upload one file.'));