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">
<head>
<meta charset="UTF-8">
<title>Käfigrechner</title>
<title>Knastrechner</title>
<link rel="stylesheet" href="assets/css/style.css">
<script src="assets/calculator.js"></script>
</head>
@ -90,11 +90,9 @@
<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");
@ -173,7 +171,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");