1
0
Fork 0
mirror of https://github.com/xevidos/codiad.git synced 2025-01-12 16:01:55 +01:00

Fixed issue where file a file that is smaller than the default blob size would not upload

This commit is contained in:
xevidos 2020-01-29 17:19:53 -05:00
parent c148d140b2
commit a7fc315f46

View file

@ -1797,6 +1797,7 @@
if( total_size < blob_size ) {
blob_size = total_size;
total_blobs = 1;
} else {
total_blobs = ( Math.round( ( total_size / blob_size ) ) );