From 81d0b3272d4ebe6549f9df9500bea36fe6d4136a Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Wed, 18 Oct 2017 14:49:50 +0300 Subject: [PATCH] Fix multiple infinite-spinner errors piling up on top of eachother --- www/common/sframe-app-framework.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/sframe-app-framework.js b/www/common/sframe-app-framework.js index 094bda98c..61d0fc505 100644 --- a/www/common/sframe-app-framework.js +++ b/www/common/sframe-app-framework.js @@ -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; }