Fix accept in readFile
This commit is contained in:
1 parent
197ec05a54
commit
c1b73d9960
1 file changed
+2
-1
+2
-1
@@ -870,8 +870,9 @@ utils.prototype.readFile = function (success, error, accept, readType) {
|
||||
else core.platform.fileReader.readAsDataURL(core.platform.fileInput.files[0]);
|
||||
core.platform.fileInput.value = '';
|
||||
}
|
||||
if (accept) core.platform.fileInput.accept = accept;
|
||||
}
|
||||
core.platform.fileInput.value = '';
|
||||
if (accept) core.platform.fileInput.accept = accept;
|
||||
|
||||
core.platform.fileInput.click();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user