Update index.h

debug interval
This commit is contained in:
wzy-666 2020-02-04 10:26:56 +08:00 committed by GitHub
parent bb21a20578
commit 48b3c04b4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -509,7 +509,7 @@ R"(<!doctype html>
</div>
<div class="input-group" id="interval-group">
<label for="interval">Time-Lapse Interval [ms]</label>
<input type="number" id="gainceiling" min="0" max="1000000000" value="1000" class="default-action">
<input type="number" id="interval" min="0" max="1000000000" value="1000" class="default-action">
</div>
<section id="buttons">
<button id="get-still">Get Still</button>
@ -590,13 +590,18 @@ document.addEventListener('DOMContentLoaded', function (event)
value = el.checked ? 1 : 0
break
case 'range':
break
case 'select-one':
value = el.value
break
case 'button':
break
case 'submit':
value = '1'
break
case 'number':
value = el.value
break
default:
return
}