Fix multiple infinite-spinner errors piling up on top of eachother

pull/1/head
Caleb James DeLisle 7 years ago
parent 9e4c48f537
commit 81d0b3272d

@ -381,6 +381,7 @@ define([
}
if (l.lag < badStateTimeout) { return; }
if (state === STATE.INFINITE_SPINNER) { return; }
stateChange(STATE.INFINITE_SPINNER);
Cryptpad.confirm(Messages.realtime_unrecoverableError, function (yes) {
if (!yes) { return; }

Loading…
Cancel
Save