Skip to content

Commit 009ca98

Browse files
committed
cloudweb-5925: beautify code
1 parent 9e37666 commit 009ca98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/FileAPI.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@
15181518
_one(reader, _readerEvents, function (evt){
15191519
var isFile = evt.type != 'error';
15201520
if( isFile ){
1521-
if ( reader.readyState == void 0 || reader.readyState === 1 /*LOADING*/ ) {
1521+
if ( reader.readyState == null || reader.readyState === reader.LOADING ) {
15221522
reader.abort();
15231523
}
15241524
callback(isFile);

0 commit comments

Comments
 (0)