all: catch some undef errors
This commit is contained in:
parent
4dbc572ea1
commit
f5091b9267
6 changed files with 9 additions and 8 deletions
|
|
@ -24,7 +24,7 @@ export default function uiFileUpload(types, ok, error) {
|
|||
uiLoading(locales('loading_upload'))
|
||||
|
||||
reader.onerror = reader.onabort = function() {
|
||||
loader.close()
|
||||
uiLoading(false)
|
||||
error()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue