Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,7 @@ function run(inn,url_in) {
|
|
60 |
var framediv = document.getElementById("framediv" + String(inn));
|
61 |
let child0 = framediv.lastElementChild;
|
62 |
while (child0) {
|
63 |
-
framediv.removeChild(
|
64 |
-
child0 = framediv.lastElementChild;
|
65 |
}
|
66 |
const iframediv = document.createElement('iframe');
|
67 |
iframediv.src = url;
|
@@ -77,13 +76,11 @@ function closefn(inn) {
|
|
77 |
frame_off.style.display = 'none';
|
78 |
let child1 = aud.lastElementChild;
|
79 |
while (child1) {
|
80 |
-
aud.removeChild(
|
81 |
-
child = aud.lastElementChild;
|
82 |
}
|
83 |
let child2 = framediv.lastElementChild;
|
84 |
while (child2) {
|
85 |
-
framediv.removeChild(
|
86 |
-
child = framediv.lastElementChild;
|
87 |
}
|
88 |
}
|
89 |
function readfn(inn,url_in) {
|
|
|
60 |
var framediv = document.getElementById("framediv" + String(inn));
|
61 |
let child0 = framediv.lastElementChild;
|
62 |
while (child0) {
|
63 |
+
framediv.removeChild(child0);
|
|
|
64 |
}
|
65 |
const iframediv = document.createElement('iframe');
|
66 |
iframediv.src = url;
|
|
|
76 |
frame_off.style.display = 'none';
|
77 |
let child1 = aud.lastElementChild;
|
78 |
while (child1) {
|
79 |
+
aud.removeChild(child1);
|
|
|
80 |
}
|
81 |
let child2 = framediv.lastElementChild;
|
82 |
while (child2) {
|
83 |
+
framediv.removeChild(child2);
|
|
|
84 |
}
|
85 |
}
|
86 |
function readfn(inn,url_in) {
|