From 5612b340252fc83b24142b240ceebc4c5e588ee0 Mon Sep 17 00:00:00 2001 From: boazf Date: Tue, 3 Dec 2024 16:44:08 +0200 Subject: [PATCH] Remove redundant variable --- SD/wwwroot/INDEX.HTM | 2 -- 1 file changed, 2 deletions(-) diff --git a/SD/wwwroot/INDEX.HTM b/SD/wwwroot/INDEX.HTM index 961e511..59dcee9 100644 --- a/SD/wwwroot/INDEX.HTM +++ b/SD/wwwroot/INDEX.HTM @@ -91,7 +91,6 @@ var recoveryType = %9 ; var id = GetId(); var autoPilot = false; - var inactive = true; var mDisco = 5000; var rDisco = 5000; var mPeriodic = false; @@ -137,7 +136,6 @@ }); source.onmessage = function (event) { - inactive = false; var state = JSON.parse(event.data); mDisco = state.mDisco * 1000; rDisco = state.rDisco * 1000 - 500;