mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
pad_editor: Promisify init()
This commit is contained in:
parent
81e36cf3c7
commit
e2bfe2fd10
2 changed files with 11 additions and 21 deletions
|
@ -501,7 +501,7 @@ const pad = {
|
|||
// order of inits is important here:
|
||||
padimpexp.init(this);
|
||||
padsavedrevs.init(this);
|
||||
padeditor.init(postAceInit, pad.padOptions.view || {}, this);
|
||||
padeditor.init(pad.padOptions.view || {}, this).then(postAceInit);
|
||||
paduserlist.init(pad.myUserInfo, this);
|
||||
padconnectionstatus.init();
|
||||
padmodals.init(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue