Compare commits
2 Commits
1d41b0cfc7
...
ecd7027bdd
Author | SHA1 | Date | |
---|---|---|---|
ecd7027bdd | |||
75c814c057 |
@ -2,7 +2,7 @@
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/html">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Knastrechner</title>
|
||||
<title>Käfigrechner</title>
|
||||
<link rel="stylesheet" href="assets/css/style.css">
|
||||
<script src="assets/calculator.js"></script>
|
||||
</head>
|
||||
@ -90,9 +90,11 @@
|
||||
<script>
|
||||
|
||||
const inputWidth = document.getElementById("width");
|
||||
inputWidth.onchange = update;
|
||||
const inputDepth = document.getElementById("depth");
|
||||
inputDepth.onchange = update;
|
||||
const inputHeight = document.getElementById("height");
|
||||
|
||||
inputHeight.onchange = update;
|
||||
|
||||
|
||||
const selectSavicSuiteRoyaleXL = document.getElementById("SavicSuiteRoyaleXL");
|
||||
@ -171,7 +173,7 @@
|
||||
const width = inputWidth.value
|
||||
const depth = inputDepth.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);
|
||||
console.log(failed_checks);
|
||||
let resultsDiv = document.getElementById("resultsDiv");
|
||||
|
Loading…
Reference in New Issue
Block a user