Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
fix #291
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Jul 10, 2014
1 parent ba160c4 commit 8127265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ define([

// 判断文件是否可以被加入队列
acceptFile: function( file ) {
var invalid = !file || file.size < 6 || this.accept &&
var invalid = !file || !file.size || this.accept &&

// 如果名字中有后缀,才做后缀白名单处理。
rExt.exec( file.name ) && !this.accept.test( file.name );
Expand Down

0 comments on commit 8127265

Please # to comment.