From 9c52e4ad1ac14255f7555be9ec630a09cd9cae82 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Wed, 13 May 2026 13:20:42 -0400 Subject: [PATCH] Fix inspector auto-refresh ignoring 'Off' setting on page load Same ?? / || issue as the previous fix 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 baf9465..03f78f6 100644 --- a/templates/inspector.html +++ b/templates/inspector.html @@ -473,7 +473,7 @@ async function loadInspector() { } loadInspector(); -const _inspInterval = (window.gandalfSettings && window.gandalfSettings.refreshInterval) || 60; +const _inspInterval = window.gandalfSettings?.refreshInterval ?? 60; if (_inspInterval > 0) lt.autoRefresh.start(loadInspector, Math.max(_inspInterval, 15) * 1000); window.onGandalfSettingsChanged = function(s) {