Skip to content

Commit

Permalink
Merge pull request 23#254 from damienklinnert/fix/max-files-error
Browse files Browse the repository at this point in the history
Clarify maxFiles error message
  • Loading branch information
steffentchr committed Nov 3, 2015
2 parents f14da84 + 1b4c1d6 commit 96596fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resumable.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
xhrTimeout:0,
maxFilesErrorCallback:function (files, errorCount) {
var maxFiles = $.getOpt('maxFiles');
alert('Please upload ' + maxFiles + ' file' + (maxFiles === 1 ? '' : 's') + ' at a time.');
alert('Please upload no more than ' + maxFiles + ' file' + (maxFiles === 1 ? '' : 's') + ' at a time.');
},
minFileSize:1,
minFileSizeErrorCallback:function(file, errorCount) {
Expand Down

0 comments on commit 96596fe

Please sign in to comment.