mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
collab_client: Delete unused NO_COMMIT_PENDING
handling
This commit is contained in:
parent
63a1f078f4
commit
1fdaf95c3b
1 changed files with 0 additions and 6 deletions
|
@ -241,12 +241,6 @@ const getCollabClient = (ace2editor, serverVars, initialUserInfo, options, _pad)
|
||||||
setIsPendingRevision(false);
|
setIsPendingRevision(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if (msg.type === 'NO_COMMIT_PENDING') {
|
|
||||||
if (committing) {
|
|
||||||
// server missed our commit message; abort that commit
|
|
||||||
setStateIdle();
|
|
||||||
handleUserChanges();
|
|
||||||
}
|
|
||||||
} else if (msg.type === 'USER_NEWINFO') {
|
} else if (msg.type === 'USER_NEWINFO') {
|
||||||
const userInfo = msg.userInfo;
|
const userInfo = msg.userInfo;
|
||||||
const id = userInfo.userId;
|
const id = userInfo.userId;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue