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

pull/1/head
Caleb James DeLisle 2017-10-18 14:49:50 +03:00
parent 9e4c48f537
commit 81d0b3272d
1 changed files with 1 additions and 0 deletions

View File

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