aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-01-09 12:37:40 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-01-09 12:37:40 +0100
commit4884d60337c141197070eefa7e19ae2b0043ae6b (patch)
treef36bc151e44340b4ccebb3dbce72a4df429eb123
parent74b3bd0135ea123de45de2fc3356e453590ad3aa (diff)
downloadPeerTube-4884d60337c141197070eefa7e19ae2b0043ae6b.tar.gz
PeerTube-4884d60337c141197070eefa7e19ae2b0043ae6b.tar.zst
PeerTube-4884d60337c141197070eefa7e19ae2b0043ae6b.zip
Fix console error when there is an error on the append file
-rw-r--r--public/javascripts/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/index.js b/public/javascripts/index.js
index daab2991e..c0388c55a 100644
--- a/public/javascripts/index.js
+++ b/public/javascripts/index.js
@@ -211,7 +211,7 @@
211 file.appendTo($embed.get(0), function (err) { 211 file.appendTo($embed.get(0), function (err) {
212 if (err) { 212 if (err) {
213 alert('Cannot append the file.') 213 alert('Cannot append the file.')
214 console.err(err) 214 console.error(err)
215 } 215 }
216 }) 216 })
217 }) 217 })