diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-01-09 12:37:40 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-01-09 12:37:40 +0100 |
commit | 4884d60337c141197070eefa7e19ae2b0043ae6b (patch) | |
tree | f36bc151e44340b4ccebb3dbce72a4df429eb123 /public | |
parent | 74b3bd0135ea123de45de2fc3356e453590ad3aa (diff) | |
download | PeerTube-4884d60337c141197070eefa7e19ae2b0043ae6b.tar.gz PeerTube-4884d60337c141197070eefa7e19ae2b0043ae6b.tar.zst PeerTube-4884d60337c141197070eefa7e19ae2b0043ae6b.zip |
Fix console error when there is an error on the append file
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/index.js | 2 |
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 | }) |