pad_editor: Promisify init()

This commit is contained in:
Richard Hansen 2021-03-19 16:35:36 -04:00 committed by John McLear
parent 81e36cf3c7
commit e2bfe2fd10
2 changed files with 11 additions and 21 deletions

View file

@ -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);