diff options
| author | user@node5.net <user@node5.net> | 2026-07-11 22:59:29 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-07-11 22:59:29 +0200 |
| commit | 1fa514ad5d9a3669b7bde4d6b4b3a94405107598 (patch) | |
| tree | 04910b9228e60ad2646d298124e7f409bd7b31ad /src/static | |
| parent | f51cbd438a07538d51bb017e77eb76c64787692b (diff) | |
fix: js error handling on subsequent runs
Diffstat (limited to 'src/static')
| -rw-r--r-- | src/static/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
