Compare commits

..

No commits in common. "ecd7027bdd51d37a90d1781d7871b34b74da323f" and "1d41b0cfc7d0c2d5982a580fa02dcbd5fdcbc54e" have entirely different histories.

View File

@ -2,7 +2,7 @@
<html lang="en" xmlns="http://www.w3.org/1999/html"> <html lang="en" xmlns="http://www.w3.org/1999/html">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Käfigrechner</title> <title>Knastrechner</title>
<link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/style.css">
<script src="assets/calculator.js"></script> <script src="assets/calculator.js"></script>
</head> </head>
@ -90,11 +90,9 @@
<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");
@ -173,7 +171,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");