fix statusIntervalId redeclaration error on SPA re-navigation

Use var instead of let for statusIntervalId so the script can be
re-executed by the SPA script-cloning logic without throwing a
redeclaration error when navigating back to the status page.

https://claude.ai/code/session_01FUhPqQLahEoL6FMxhXkDKa
This commit is contained in:
Claude
2026-02-12 14:49:01 +00:00
parent 9847d6422e
commit e66b675979

View File

@@ -236,7 +236,7 @@ function refreshStatus() {
/** /**
* Initialize on page load * Initialize on page load
*/ */
let statusIntervalId = null; var statusIntervalId = null;
function initStatusPage() { function initStatusPage() {
// Clear any existing interval from a previous SPA navigation // Clear any existing interval from a previous SPA navigation