update input field steps

master
michael 2022-10-18 13:15:50 -07:00
parent 8e51a01c58
commit a151668ca1
1 changed files with 3 additions and 4 deletions

View File

@ -15,15 +15,15 @@
<br> <br>
<label for="i_darkcurrent">I_Darkcurrent</label> <label for="i_darkcurrent">I_Darkcurrent</label>
<input type="number" name="i_darkcurrent" value="7.7" step="0.1"/> <input type="number" name="i_darkcurrent" value="7.7" step="0.001"/>
<br> <br>
<label for="exposure_time">Exposure Time <i>t</i></label> <label for="exposure_time">Exposure Time <i>t</i></label>
<input type="number" name="exposure_time" value="0.5" step="0.1"/> <input type="number" name="exposure_time" value="0.5" step="0.001"/>
<br> <br>
<label for="f_stop">F-stop <i>f</i></label> <label for="f_stop">F-stop <i>f</i></label>
<input type="number" name="f_stop" value="2.4" step=0.1/> <input type="number" name="f_stop" value="2.4" step="0.001"/>
<br> <br>
<h4>Temperature Settings</h4> <h4>Temperature Settings</h4>
@ -54,7 +54,6 @@
let imgPreview = document.getElementById('img-preview'); let imgPreview = document.getElementById('img-preview');
let imgUpload = document.getElementById('img-upload'); let imgUpload = document.getElementById('img-upload');
imgUpload.onchange = event => { imgUpload.onchange = event => {
console.log("hi")
const [file] = imgUpload.files; const [file] = imgUpload.files;
if (file) { if (file) {
console.log(file) console.log(file)