Fix multiple infinite-spinner errors piling up on top of eachother
This commit is contained in:
parent
9e4c48f537
commit
81d0b3272d
@ -381,6 +381,7 @@ define([
|
|||||||
}
|
}
|
||||||
if (l.lag < badStateTimeout) { return; }
|
if (l.lag < badStateTimeout) { return; }
|
||||||
|
|
||||||
|
if (state === STATE.INFINITE_SPINNER) { return; }
|
||||||
stateChange(STATE.INFINITE_SPINNER);
|
stateChange(STATE.INFINITE_SPINNER);
|
||||||
Cryptpad.confirm(Messages.realtime_unrecoverableError, function (yes) {
|
Cryptpad.confirm(Messages.realtime_unrecoverableError, function (yes) {
|
||||||
if (!yes) { return; }
|
if (!yes) { return; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user