We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function updateFileCounter assumes 'top' number ordering. Fix below corrects:
function updateFileCounter(s, obj) { if (s.showFileCounter) { var count = $(obj.container).find(".ajax-file-upload-filename").length; obj.fileCounter = count + 1 if (s.uploadQueueOrder === "bottom") count = 1; //fix $(obj.container).find(".ajax-file-upload-filename").each(function (i, items) { var arr = $(this).html().split(s.fileCounterStyle); var fileNum = parseInt(arr[0]) - 1; //decrement; var name = count + s.fileCounterStyle + arr[1]; $(this).html(name); s.uploadQueueOrder === "top" ? count-- : count++; //fix }); } }
The text was updated successfully, but these errors were encountered:
Can you send me pull request
Sorry, something went wrong.
No branches or pull requests
function updateFileCounter assumes 'top' number ordering. Fix below corrects:
The text was updated successfully, but these errors were encountered: