Fix step sub-unità: L ora step 0.1, ml step 50, g step 10

This commit is contained in:
dadaloop82
2026-03-13 14:46:12 +00:00
parent 3733adf2e9
commit 38c8914fea
3 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -3020,10 +3020,10 @@ function switchUseUnit(mode) {
function getSubUnitStep(pkgUnit) {
switch (pkgUnit) {
case 'ml': return 100;
case 'l': return 0.25;
case 'g': return 50;
case 'kg': return 0.1;
case 'ml': return 50;
case 'l': return 0.1;
case 'g': return 10;
case 'kg': return 0.05;
default: return 1;
}
}
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -878,6 +878,6 @@
</div>
</div>
<script src="assets/js/app.js?v=20260313g"></script>
<script src="assets/js/app.js?v=20260313h"></script>
</body>
</html>