Skip to content

Commit

Permalink
Use let
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Oct 7, 2024
1 parent 02f0f5a commit 86c5c5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/usr/share/www/static/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function scheduleTry() {
setTimeout(testAvailable, 5000);
}

var scheduleTimeout;
let scheduleTimeout;

function scheduleFetchLogs() {
clearTimeout(scheduleTimeout);
Expand Down Expand Up @@ -142,7 +142,7 @@ function fetchSupervisorInfo() {
scheduleFetchSupervisorInfo();
}

var scheduleSupervisorTimeout;
let scheduleSupervisorTimeout;

function scheduleFetchSupervisorInfo() {
clearTimeout(scheduleSupervisorTimeout);
Expand Down

0 comments on commit 86c5c5a

Please sign in to comment.