mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
helper.edit: wait up to 10 seconds for ACCEPT_COMMIT
This commit is contained in:
parent
a38db36aab
commit
0c6b97fa79
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ helper.edit = async (message, line) => {
|
|||
await helper.withFastCommit(async (incorp) => {
|
||||
helper.linesDiv()[line].sendkeys(message);
|
||||
incorp();
|
||||
await helper.waitForPromise(() => editsNum + 1 === helper.commits.length);
|
||||
await helper.waitForPromise(() => editsNum + 1 === helper.commits.length, 10000);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue