Fix the infinite spinner problem

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

No files matched your search

+5
View File
@@ -687,6 +687,11 @@ define([
}
};
var onError = config.onError = function (info) {
module.spinner.hide();
Cryptpad.alert(Messages.websocketError);
};
var realtime = module.realtime = Realtime.start(config);
editor.on('change', onLocal);