We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7be4a35 commit 57d9469Copy full SHA for 57d9469
src/exif-reader.js
@@ -161,7 +161,7 @@ function requireNodeFs() {
161
}
162
163
function isBrowserFileObject(data) {
164
- return (typeof window !== 'undefined') && (typeof File !== 'undefined') && (data instanceof File);
+ return (typeof File !== 'undefined') && (data instanceof File);
165
166
167
function loadFileObject(file) {
0 commit comments