mirror of
https://github.com/xevidos/codiad.git
synced 2024-12-22 13:52:16 +01:00
Fixed issue where file a file that is smaller than the default blob size would not upload
This commit is contained in:
parent
c148d140b2
commit
a7fc315f46
1 changed files with 1 additions and 0 deletions
|
@ -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 ) ) );
|
||||
|
|
Loading…
Reference in a new issue