From e66b675979ac8c5ccddd1914c91df96ab44f62dc Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Feb 2026 14:49:01 +0000 Subject: [PATCH] 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 --- src/static/js/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/status.js b/src/static/js/status.js index 19585e5..8f20c09 100644 --- a/src/static/js/status.js +++ b/src/static/js/status.js @@ -236,7 +236,7 @@ function refreshStatus() { /** * Initialize on page load */ -let statusIntervalId = null; +var statusIntervalId = null; function initStatusPage() { // Clear any existing interval from a previous SPA navigation