Restore diameter result and uncertainty display

This commit is contained in:
2026-07-07 16:20:27 +02:00
parent dcca3fa042
commit 4670666421
2 changed files with 9 additions and 2 deletions
+2 -2
View File
@@ -1006,8 +1006,8 @@ document.getElementById('d-calc').addEventListener('click', () => {
const aw = parseFloat(document.getElementById('d-aw').value) || 0;
const L_final = parseFloat(document.getElementById('d-le').value) || 0;
if (wi > 0 && aw > 0 && L_final > 0) {
const weight = (aw * L_final * wi / 1000).toFixed(1);
document.getElementById('d-wo').value = weight;
const weight = aw * L_final * wi / 1000;
document.getElementById('d-wo').value = weight.toFixed(1);
checkForklift(weight, d, category);
} else {
document.getElementById('forkliftCheck').classList.remove('show');