diff --git a/assets/js/tools.js b/assets/js/tools.js index 23bb7c7..66cc3e2 100644 --- a/assets/js/tools.js +++ b/assets/js/tools.js @@ -1466,6 +1466,7 @@ function resetAliases() { } async function checkHealth() { + if (!els.healthPill) return; els.healthPill.textContent = 'Checking...'; try { const response = await fetch('api/health.php', {