From 86c5c5a097c67acc90e58e3f3f59a2c02a5b9780 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 7 Oct 2024 17:34:14 +0200 Subject: [PATCH] Use let --- rootfs/usr/share/www/static/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/usr/share/www/static/scripts.js b/rootfs/usr/share/www/static/scripts.js index 4d719ea..74c7145 100644 --- a/rootfs/usr/share/www/static/scripts.js +++ b/rootfs/usr/share/www/static/scripts.js @@ -106,7 +106,7 @@ function scheduleTry() { setTimeout(testAvailable, 5000); } -var scheduleTimeout; +let scheduleTimeout; function scheduleFetchLogs() { clearTimeout(scheduleTimeout); @@ -142,7 +142,7 @@ function fetchSupervisorInfo() { scheduleFetchSupervisorInfo(); } -var scheduleSupervisorTimeout; +let scheduleSupervisorTimeout; function scheduleFetchSupervisorInfo() { clearTimeout(scheduleSupervisorTimeout);