Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,6 +61,7 @@ function run(inn, url_in) {
|
|
61 |
let child0 = framediv.lastElementChild;
|
62 |
while (child0) {
|
63 |
framediv.removeChild(child0);
|
|
|
64 |
}
|
65 |
const iframediv = document.createElement('iframe');
|
66 |
iframediv.src = url;
|
@@ -79,10 +80,12 @@ function closefn(inn) {
|
|
79 |
let child1 = aud.lastElementChild;
|
80 |
while (child1) {
|
81 |
aud.removeChild(child1);
|
|
|
82 |
}
|
83 |
let child2 = framediv.lastElementChild;
|
84 |
while (child2) {
|
85 |
framediv.removeChild(child2);
|
|
|
86 |
}
|
87 |
}
|
88 |
</script>
|
@@ -97,6 +100,7 @@ function readfn(inn, url_in) {
|
|
97 |
let child = readit.lastElementChild;
|
98 |
while (child) {
|
99 |
readit.removeChild(child);
|
|
|
100 |
}
|
101 |
const iframe = document.createElement('iframe');
|
102 |
|
|
|
61 |
let child0 = framediv.lastElementChild;
|
62 |
while (child0) {
|
63 |
framediv.removeChild(child0);
|
64 |
+
child0=framediv.lastElementChild;
|
65 |
}
|
66 |
const iframediv = document.createElement('iframe');
|
67 |
iframediv.src = url;
|
|
|
80 |
let child1 = aud.lastElementChild;
|
81 |
while (child1) {
|
82 |
aud.removeChild(child1);
|
83 |
+
child1=aud.lastElementChild;
|
84 |
}
|
85 |
let child2 = framediv.lastElementChild;
|
86 |
while (child2) {
|
87 |
framediv.removeChild(child2);
|
88 |
+
child2 = framediv.lastElementChild;
|
89 |
}
|
90 |
}
|
91 |
</script>
|
|
|
100 |
let child = readit.lastElementChild;
|
101 |
while (child) {
|
102 |
readit.removeChild(child);
|
103 |
+
child=readit.lastElementChild;
|
104 |
}
|
105 |
const iframe = document.createElement('iframe');
|
106 |
|