Fix the infinite spinner problem
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user