From 1fa514ad5d9a3669b7bde4d6b4b3a94405107598 Mon Sep 17 00:00:00 2001 From: "user@node5.net" Date: Sat, 11 Jul 2026 22:59:29 +0200 Subject: fix: js error handling on subsequent runs --- src/static/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/static') diff --git a/src/static/main.js b/src/static/main.js index 0900c41..c281444 100644 --- a/src/static/main.js +++ b/src/static/main.js @@ -1,7 +1,7 @@ topE = document.querySelector("#top"); -programE = document.querySelector("#program"); async function update() { + programE = document.querySelector("#program"); try { const response = await fetch("/update"); if (response.status == 200) { -- cgit v1.3.1