Skip to content

Commit

Permalink
Changes around steering ID
Browse files Browse the repository at this point in the history
  • Loading branch information
giavac committed Jan 30, 2024
1 parent d759e36 commit 3777b48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<div class="card-body">
<h5>Connect</h5>
<div class="form-group">
<label for="steeringId">Address</label>
<label for="steeringId">Steering ID</label>
<input type="text" class="form-control" id="steeringId" placeholder="optional freeswitch nodeid" />
</div>
<div class="form-group">
Expand Down

0 comments on commit 3777b48

Please sign in to comment.