diff --git a/access_log.json b/access_log.json index 9a43159..2c39a17 100644 --- a/access_log.json +++ b/access_log.json @@ -635,5 +635,12 @@ "endpoint": "/", "method": "GET", "status": 200 + }, + { + "timestamp": "2026-07-07T16:19:41.488752", + "username": "mtazl", + "endpoint": "/", + "method": "GET", + "status": 200 } ] \ No newline at end of file diff --git a/templates/roll_calculator.html b/templates/roll_calculator.html index 494bf00..e67b01c 100644 --- a/templates/roll_calculator.html +++ b/templates/roll_calculator.html @@ -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');