Add a bit delay to avoid race
This commit is contained in:
parent
56c5b3dd3c
commit
4792134990
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@
|
|||
]);
|
||||
|
||||
window[widget.id] = editor;
|
||||
$(widget).trigger('ace_load', [editor]);
|
||||
setTimeout(() => $(widget).trigger('ace_load', [editor]), 100);
|
||||
}
|
||||
|
||||
function init() {
|
||||
|
|
Loading…
Reference in a new issue