Add a bit delay to avoid race

This commit is contained in:
cuom1999 2023-03-17 15:15:39 -05:00
parent 56c5b3dd3c
commit 4792134990

View file

@ -162,7 +162,7 @@
]);
window[widget.id] = editor;
$(widget).trigger('ace_load', [editor]);
setTimeout(() => $(widget).trigger('ace_load', [editor]), 100);
}
function init() {