Fix console error when there is an error on the append file
This commit is contained in:
parent
74b3bd0135
commit
4884d60337
|
@ -211,7 +211,7 @@
|
||||||
file.appendTo($embed.get(0), function (err) {
|
file.appendTo($embed.get(0), function (err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
alert('Cannot append the file.')
|
alert('Cannot append the file.')
|
||||||
console.err(err)
|
console.error(err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue