added js file missing from previous commit
This commit is contained in:
parent
63aae590d5
commit
0a2f7ddc61
1 changed files with 13 additions and 0 deletions
13
static/js/add_stream.js
Executable file
13
static/js/add_stream.js
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
function intervalChange(){
|
||||
let intervalInput = document.getElementById("interval");
|
||||
let motionIntervalInput = document.getElementById("motion_interval");
|
||||
|
||||
motionIntervalInput.max = intervalInput.value;
|
||||
}
|
||||
|
||||
function motionIntervalChange(){
|
||||
let motionIntervalInput = document.getElementById("motion_interval");
|
||||
let motionIntervalLabel = document.getElementById("motion_interval_label");
|
||||
motionIntervalLabel.innerHTML = "Motion Interval (MS): " + motionIntervalInput.value
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue