Spaces:
Sleeping
Sleeping
Update nutri_call.html
Browse files- nutri_call.html +2 -0
nutri_call.html
CHANGED
|
@@ -1250,6 +1250,8 @@ function calculateCationsAndAnions() {
|
|
| 1250 |
document.getElementById("n1-value").textContent =
|
| 1251 |
`Катионы: ${totalCations.toFixed(2)} mEq/L | Анионы: ${totalAnions.toFixed(2)} mEq/L`;
|
| 1252 |
|
|
|
|
|
|
|
| 1253 |
document.getElementById("anion-indicator").style.width = `${anionPercent}%`;
|
| 1254 |
}
|
| 1255 |
|
|
|
|
| 1250 |
document.getElementById("n1-value").textContent =
|
| 1251 |
`Катионы: ${totalCations.toFixed(2)} mEq/L | Анионы: ${totalAnions.toFixed(2)} mEq/L`;
|
| 1252 |
|
| 1253 |
+
// Обновление ширины индикаторов
|
| 1254 |
+
document.getElementById("cation-indicator").style.width = `${cationPercent}%`;
|
| 1255 |
document.getElementById("anion-indicator").style.width = `${anionPercent}%`;
|
| 1256 |
}
|
| 1257 |
|