diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 516812563ac6c600e7c8bb723d36426eff7b0af7..3879aa658888c17ed53acfaaef1cdc0601c34169 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -243,6 +243,7 @@ OC.Upload = { } // in case folder drag and drop is not supported file will point to a directory + // http://stackoverflow.com/a/20448357 if (!file.type && file.size%4096 === 0 && file.size <= 102400) { try { reader = new FileReader();