mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
collab_client: Defer on any non-CONNECTED state
This commit is contained in:
parent
3f7745b48b
commit
60dde4edf6
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ const getCollabClient = (ace2editor, serverVars, initialUserInfo, options, _pad)
|
||||||
func.call(this, ...args);
|
func.call(this, ...args);
|
||||||
};
|
};
|
||||||
action.tag = tag;
|
action.tag = tag;
|
||||||
if (channelState === 'CONNECTING') {
|
if (channelState !== 'CONNECTED') {
|
||||||
deferredActions.push(action);
|
deferredActions.push(action);
|
||||||
} else {
|
} else {
|
||||||
action();
|
action();
|
||||||
|
|
Loading…
Reference in a new issue