From f3a0cbdf26dec635a9f763b16df19401641e07c8 Mon Sep 17 00:00:00 2001 From: ES-Alexander Date: Thu, 4 Jul 2024 18:37:43 +1000 Subject: [PATCH] index.html: fix potentially unreachable code --- dvl-a50/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvl-a50/static/index.html b/dvl-a50/static/index.html index a5b8916..065d8d1 100644 --- a/dvl-a50/static/index.html +++ b/dvl-a50/static/index.html @@ -143,7 +143,7 @@

Water Linked DVL Configuration Page

this.enabled = data.enabled this.orientation = data.orientation this.origin = data.origin - if (this.newOrigin === ['0','0']) { + if (this.newOrigin == ['0','0']) { this.newOrigin = data.origin } this.rangefinder = data.rangefinder