Commit 6165433879b4b23dc7e1435ca5bf81275ebb508f
Whoops, proper check for true
Anders Rune Jensen committed on 5/30/2018, 7:57:29 PMParent: 2faca8a26207e316f21cadb9222ed640b7e76c16
Files changed
blob/html/input.js | changed |
blob/html/input.js | ||
---|---|---|
@@ -31,9 +31,9 @@ | ||
31 | 31 … | getFileData(file, function(fileData) { |
32 | 32 … | var orientation = getOrientation(fileData) |
33 | 33 … | |
34 | 34 … | if ((typeof opts.removeExif == 'function' && opts.removeExif()) || |
35 | - opts.removeExif) | |
35 … | + opts.removeExif === true) | |
36 | 36 … | fileData = removeExif(fileData, orientation) |
37 | 37 … | |
38 | 38 … | // handle exif orientation data and resize |
39 | 39 … | if (orientation >= 3 || opts.resize) { |
Built with git-ssb-web