diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-07-23 14:56:53 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-07-23 14:56:53 -0400 |
commit | 772e644343dbf255bffee6bd1ba60297fb5388b3 (patch) | |
tree | 2fa9e3322f944a140f2ef4e36d556af546964b07 /web/react/components/file_upload.jsx | |
parent | a9d48ff994cd2d03f8e1b2438e50fc6dd0d9bdc2 (diff) | |
parent | 952e7a93f977a11bd65c0477d478154e1faddc15 (diff) | |
download | chat-772e644343dbf255bffee6bd1ba60297fb5388b3.tar.gz chat-772e644343dbf255bffee6bd1ba60297fb5388b3.tar.bz2 chat-772e644343dbf255bffee6bd1ba60297fb5388b3.zip |
Merge pull request #244 from rgarmsen2295/mm-1610
MM-1610 Fixed issue with error message for uploading more than 5 files not appearing on OSX
Diffstat (limited to 'web/react/components/file_upload.jsx')
-rw-r--r-- | web/react/components/file_upload.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/file_upload.jsx b/web/react/components/file_upload.jsx index f2429f17e..aee089dbc 100644 --- a/web/react/components/file_upload.jsx +++ b/web/react/components/file_upload.jsx @@ -15,7 +15,7 @@ module.exports = React.createClass({ // This looks redundant, but must be done this way due to // setState being an asynchronous call var numFiles = 0; - for(var i = 0; i < files.length && i < Constants.MAX_UPLOAD_FILES; i++) { + for(var i = 0; i < files.length; i++) { if (files[i].size <= Constants.MAX_FILE_SIZE) { numFiles++; } |