diff --git a/web/src/routes/Config.jsx b/web/src/routes/Config.jsx index ee01d8d01..d3e8ee90a 100644 --- a/web/src/routes/Config.jsx +++ b/web/src/routes/Config.jsx @@ -48,7 +48,7 @@ export default function Config() { return; } - if (window.editor) { + if (document.getElementById('container').children.length > 0) { // we don't need to recreate the editor if it already exists return; }