mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
Use <py-terminal> as default target (#1826)
This commit is contained in:
committed by
GitHub
parent
72f266532b
commit
b31af823d1
@@ -57,7 +57,7 @@ const pyTerminal = async () => {
|
||||
document.querySelector(selector);
|
||||
if (!target) throw new Error(`Unknown target ${selector}`);
|
||||
} else {
|
||||
target = document.createElement(`${element.type}-terminal`);
|
||||
target = document.createElement("py-terminal");
|
||||
target.style.display = "block";
|
||||
element.after(target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user