fix js typo (could panic on network glitches)

This commit is contained in:
ed 2024-09-02 00:58:15 +00:00
parent 5a8c3b8be0
commit d9e9526247

View file

@ -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);