From 3777b48fb4920ba7fbcae2e33e6e44b13c34cbd3 Mon Sep 17 00:00:00 2001 From: Giacomo Vacca Date: Tue, 30 Jan 2024 16:27:41 +0100 Subject: [PATCH] Changes around steering ID --- public/full.js | 4 ++-- views/index.ejs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/full.js b/public/full.js index 88cbb49..c1b14e0 100644 --- a/public/full.js +++ b/public/full.js @@ -376,8 +376,8 @@ window.connect = async () => { connectStatus.innerHTML = 'Connecting...' // Set a node_id for steering - const steeringId = () { - const formValue= document.getElementById('destination').value; + const steeringId = () => { + const formValue= document.getElementById('steeringId').value; return !!formValue && formValue.trim().length ? formValue.trim() : undefined; } diff --git a/views/index.ejs b/views/index.ejs index 624312f..467597b 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -51,7 +51,7 @@
Connect
- +