summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/main.js b/src/static/main.js
index 86cda7e..45b7f9b 100644
--- a/src/static/main.js
+++ b/src/static/main.js
@@ -1,7 +1,7 @@
async function update() {
const html = await (await fetch("/update")).text();
document.querySelector("#top").innerHTML = html.split("\n").slice(0, 1)[0];
- document.querySelector("#program").innerHTML = html.split("\n").slice(1).join("\n");
+ document.querySelector("#program").outerHTML = html.split("\n").slice(1).join("\n");
}
setInterval(() => {