Fix the infinite spinner problem

This commit is contained in:
yflory
2016-12-08 16:01:46 +01:00
parent 4cd9bd5534
commit 05fd6c1563
5 changed files with 19 additions and 3 deletions

View File

@@ -691,6 +691,11 @@ define([
}
};
var onError = realtimeOptions.onError = function (info) {
module.spinner.hide();
Cryptpad.alert(Messages.websocketError);
};
var onLocal = realtimeOptions.onLocal = function () {
if (initializing) { return; }
if (readOnly) { return; }