This commit is contained in:
Kovid Goyal 2022-02-13 12:28:24 +05:30
parent 46f9b1ebd7
commit 731ccd92a9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -19,7 +19,7 @@ def upload_files_widget(container, proceed, msg, single_file=False, accept_exten
if callable(proceed) and files.length:
proceed(container_id, files)
msg = msg or _('Upload books by <a>selecting the book files</a> or drag and drop of the files here')
msg = msg or _('Upload books by either <a>selecting the book files</a> or drag and drop the files here')
c = E.div(E.span(), E.input(type='file', style='display:none', onchange=files_selected))
if not single_file:
c.lastChild.setAttribute('multiple', 'multiple')