diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 27011778..76ead4f3 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -1,4 +1,4 @@ - +
@@ -6037,7 +6037,7 @@ if (start >= data.byteLength) { files.sendText(JSON.stringify({ action: 'uploaddone', reqid: uploadFile.xfilePtr })); } else { - var end = uploadFile.xptr + 16384; + var end = uploadFile.xptr + 65565; if (end > data.byteLength) { if (dataPriming == true) { return; } end = data.byteLength; } var dataslice = new Uint8Array(data.slice(start, end)) if ((dataslice[0] == 123) || (dataslice[0] == 0)) { @@ -6053,7 +6053,7 @@ } else if (uploadFile.xfile) { if (uploadFile.xreader != null) return; // Data reading already in process if (uploadFile.xptr >= uploadFile.xfile.size) return; - var end = uploadFile.xptr + 16384; + var end = uploadFile.xptr + 65565; if (end > uploadFile.xfile.size) { if (dataPriming == true) { return; } end = uploadFile.xfile.size; } uploadFile.xreader = new FileReader(); uploadFile.xreader.onerror = function (err) { console.log(err); } diff --git a/views/default.handlebars b/views/default.handlebars index 6d9141c4..c62bc7c7 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -11699,7 +11699,7 @@ if (start >= data.byteLength) { files.sendText(JSON.stringify({ action: 'uploaddone', reqid: uploadFile.xfilePtr })); } else { - var end = uploadFile.xptr + 16384; + var end = uploadFile.xptr + 65565; if (end > data.byteLength) { if (dataPriming == true) { return; } end = data.byteLength; } var dataslice = new Uint8Array(data.slice(start, end)) if ((dataslice[0] == 123) || (dataslice[0] == 0)) { @@ -11715,7 +11715,7 @@ } else if (uploadFile.xfile) { if (uploadFile.xreader != null) return; // Data reading already in process if (uploadFile.xptr >= uploadFile.xfile.size) return; - var end = uploadFile.xptr + 16384; + var end = uploadFile.xptr + 65565; if (end > uploadFile.xfile.size) { if (dataPriming == true) { return; } end = uploadFile.xfile.size; } uploadFile.xreader = new FileReader(); uploadFile.xreader.onerror = function (err) { console.log(err); } diff --git a/views/sharing-mobile.handlebars b/views/sharing-mobile.handlebars index 14e3d221..a93d2b56 100644 --- a/views/sharing-mobile.handlebars +++ b/views/sharing-mobile.handlebars @@ -2364,7 +2364,7 @@ function p13uploadNextPart(dataPriming) { if (uploadFile.xreader != null) return; // Data reading already in process if (uploadFile.xptr >= uploadFile.xfile.size) return; - var end = uploadFile.xptr + 16384; + var end = uploadFile.xptr + 65565; if (end > uploadFile.xfile.size) { if (dataPriming == true) { return; } end = uploadFile.xfile.size; } uploadFile.xreader = new FileReader(); uploadFile.xreader.onerror = function (err) { console.log(err); } diff --git a/views/sharing.handlebars b/views/sharing.handlebars index 2d83ed98..33da18dd 100644 --- a/views/sharing.handlebars +++ b/views/sharing.handlebars @@ -2191,7 +2191,7 @@ if (start >= data.byteLength) { files.sendText(JSON.stringify({ action: 'uploaddone', reqid: uploadFile.xfilePtr })); } else { - var end = uploadFile.xptr + 16384; + var end = uploadFile.xptr + 65565; if (end > data.byteLength) { if (dataPriming == true) { return; } end = data.byteLength; } var dataslice = new Uint8Array(data.slice(start, end)) if ((dataslice[0] == 123) || (dataslice[0] == 0)) {