This commit is contained in:
Philipp Rudiger
2022-04-20 15:06:39 +02:00
parent 97aa4513f7
commit ca92e58c37
2 changed files with 0 additions and 2 deletions

View File

@@ -111,7 +111,6 @@ class PyScript:
element = document.getElementById(element_id)
html, mime_type = format_mime(value)
console.log(mime_type, html)
if mime_type == 'application/javascript':
scriptEl = document.createRange().createContextualFragment(html)
element.children = [scriptEl]