Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 32d6271

Browse files
committed
Remove error on non-jpeg image in editListing
1 parent 9208166 commit 32d6271

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

js/views/itemEditVw.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ module.exports = baseVw.extend({
443443
orientation;
444444

445445
self.getOrientation(imageFile, function(val) {
446-
if (val === -2) throw new Error('The image is not a jpeg.');
447446
if (val === -1) throw new Error('The image is undefined.');
448447
orientation = val;
449448
});

0 commit comments

Comments
 (0)