ui: display editor only when it is ready

so it avoid strange ui effect when div get positioned
This commit is contained in:
Sebastian Castro 2020-04-28 16:14:00 +02:00 committed by muxator
parent d5020f53ab
commit 15af63b0f8
2 changed files with 5 additions and 0 deletions

View file

@ -573,6 +573,8 @@ var pad = {
mobileMatch.addListener(checkChatAndUsersVisibility); // check if window resized
setTimeout(function() { checkChatAndUsersVisibility(mobileMatch); }, 0); // check now after load
$('#editorcontainer').addClass('initialized');
hooks.aCallAll("postAceInit", {ace: padeditor.ace, pad: pad});
}
},