cheditor 소스 수정

This commit is contained in:
thisgun
2017-03-20 15:46:58 +09:00
parent c6425adffc
commit 54abbddbe5
2 changed files with 6 additions and 2 deletions

View File

@ -1064,7 +1064,11 @@ DoUpload.prototype = {
if (evt.target.readyState === FileReader.DONE) {
blob = new self.MyBlob(self.NewBlob(evt.target.result, filetype));
orientation = self.getOrientation(evt.target.result.slice(0, 64 * 1024));
try {
orientation = self.getOrientation(evt.target.result.slice(0, 64 * 1024));
} catch(err) {
}
image = new Image();
image.onload = function () {