From 0f2506d5a4dc1237d0a6201d9eaab6852c2e41c8 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sun, 10 May 2026 23:45:42 -0400 Subject: [PATCH] refactor: const for _inspInterval in inspector.html Last remaining var declaration; matches the pattern in index.html and links.html. Co-Authored-By: Claude Sonnet 4.6 --- templates/inspector.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/inspector.html b/templates/inspector.html index 90cff93..d33e9a6 100644 --- a/templates/inspector.html +++ b/templates/inspector.html @@ -468,7 +468,7 @@ async function loadInspector() { } loadInspector(); -var _inspInterval = (window.gandalfSettings && window.gandalfSettings.refreshInterval) || 60; +const _inspInterval = (window.gandalfSettings && window.gandalfSettings.refreshInterval) || 60; if (_inspInterval > 0) lt.autoRefresh.start(loadInspector, Math.max(_inspInterval, 15) * 1000); window.onGandalfSettingsChanged = function(s) {