Fix console error when there is an error on the append file
authorChocobozzz <florian.bigard@gmail.com>
Sat, 9 Jan 2016 11:37:40 +0000 (12:37 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 9 Jan 2016 11:37:40 +0000 (12:37 +0100)
public/javascripts/index.js

index daab2991e4abf6cdded8653b3973e58b1d288b5a..c0388c55a2b6baa631567041ac0475840b764e7f 100644 (file)
       file.appendTo($embed.get(0), function (err) {
         if (err) {
           alert('Cannot append the file.')
-          console.err(err)
+          console.error(err)
         }
       })
     })