mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
fix js typo (could panic on network glitches)
This commit is contained in:
parent
5a8c3b8be0
commit
d9e9526247
|
@ -2625,7 +2625,7 @@ function up2k_init(subtle) {
|
||||||
t.nojoin = t.nojoin || t.postlist.length;
|
t.nojoin = t.nojoin || t.postlist.length;
|
||||||
console.log("ignoring dupe-segment with backoff", t.nojoin, t.name, t);
|
console.log("ignoring dupe-segment with backoff", t.nojoin, t.name, t);
|
||||||
if (!toast.visible && st.todo.upload.length < 4)
|
if (!toast.visible && st.todo.upload.length < 4)
|
||||||
toast.msg(10, L.u_cbusy);
|
toast.inf(10, L.u_cbusy);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
xhrchk(xhr, L.u_cuerr2.format(snpart, Math.ceil(t.size / chunksize), t.name), "404, target folder not found (???)", "warn", t);
|
xhrchk(xhr, L.u_cuerr2.format(snpart, Math.ceil(t.size / chunksize), t.name), "404, target folder not found (???)", "warn", t);
|
||||||
|
|
Loading…
Reference in a new issue