Skip to content

Commit 7ff57df

Browse files
committed
fix(tpl): detect feature by typeof
1 parent 52582db commit 7ff57df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tpl/frontend/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@
850850
}
851851

852852
function enableUploadProgress() { // also fix Safari upload filename has no path info
853-
if (!FormData) {
853+
if (typeof FormData === strUndef) {
854854
return;
855855
}
856856

0 commit comments

Comments
 (0)