fix error when trying to output to non existing element

This commit is contained in:
Fabio Pliger
2022-04-18 23:10:41 -05:00
parent a6955b170a
commit 3c2ca6d68c
5 changed files with 6 additions and 6 deletions

View File

@@ -188,7 +188,7 @@ export class PyRepl extends BaseEvalElement {
this.errorElement = this.outputElement;
}
}
this.appendChild(mainDiv);
this.editor.focus();