Guard checkHealth() against null healthPill on dashboard pages
This commit is contained in:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user