feat: Update on change in input fields
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
75c814c057
commit
ecd7027bdd
@ -90,9 +90,11 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
const inputWidth = document.getElementById("width");
|
const inputWidth = document.getElementById("width");
|
||||||
|
inputWidth.onchange = update;
|
||||||
const inputDepth = document.getElementById("depth");
|
const inputDepth = document.getElementById("depth");
|
||||||
|
inputDepth.onchange = update;
|
||||||
const inputHeight = document.getElementById("height");
|
const inputHeight = document.getElementById("height");
|
||||||
|
inputHeight.onchange = update;
|
||||||
|
|
||||||
|
|
||||||
const selectSavicSuiteRoyaleXL = document.getElementById("SavicSuiteRoyaleXL");
|
const selectSavicSuiteRoyaleXL = document.getElementById("SavicSuiteRoyaleXL");
|
||||||
@ -171,7 +173,7 @@
|
|||||||
const width = inputWidth.value
|
const width = inputWidth.value
|
||||||
const depth = inputDepth.value
|
const depth = inputDepth.value
|
||||||
const height = inputHeight.value
|
const height = inputHeight.value
|
||||||
const dimensions = new Dimensions(width/100, depth/100, height/100);
|
const dimensions = new Dimensions(width / 100, depth / 100, height / 100);
|
||||||
const failed_checks = cageCheck(dimensions, ratSlider.value, fullFloorNum.value);
|
const failed_checks = cageCheck(dimensions, ratSlider.value, fullFloorNum.value);
|
||||||
console.log(failed_checks);
|
console.log(failed_checks);
|
||||||
let resultsDiv = document.getElementById("resultsDiv");
|
let resultsDiv = document.getElementById("resultsDiv");
|
||||||
|
Loading…
Reference in New Issue
Block a user