DmitrMakeev commited on
Commit
b18f7c3
·
verified ·
1 Parent(s): c2791cf

Update nutri_call.html

Browse files
Files changed (1) hide show
  1. 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