mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
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:
@@ -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.'));
|
||||
|
||||
Reference in New Issue
Block a user