Skip to content

Commit

Permalink
Fix config missing (blakeblackshear#4825)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Dec 30, 2022
1 parent 6326011 commit e3ec292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/Config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e3ec292

Please sign in to comment.