Merge pull request #5 from wzy-666/master

Update index.h
This commit is contained in:
bitluni 2020-02-04 13:30:32 +01:00 committed by GitHub
commit fd2fe15b02
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
}