Spaces:
Sleeping
Sleeping
Update nutri_call.html
Browse files- nutri_call.html +3 -3
nutri_call.html
CHANGED
@@ -878,15 +878,15 @@ document.getElementById('calculate-btn').addEventListener('click', function() {
|
|
878 |
// Рассчитываем EC
|
879 |
const ecValue = calculateEC(call_data, temperature);
|
880 |
|
|
|
|
|
|
|
881 |
// Обновляем поле EC
|
882 |
const ecInput = document.getElementById('profile_ec');
|
883 |
if (ecInput) {
|
884 |
ecInput.value = ecValue.toFixed(2);
|
885 |
console.log(`Установлено значение EC: ${ecValue.toFixed(2)}`);
|
886 |
}
|
887 |
-
|
888 |
-
// Рассчитываем проценты оксидов
|
889 |
-
calculateOxidePercentages(call_data);
|
890 |
})
|
891 |
.catch(error => {
|
892 |
console.error("=== ОШИБКА ПРИ ОБРАБОТКЕ ===", error);
|
|
|
878 |
// Рассчитываем EC
|
879 |
const ecValue = calculateEC(call_data, temperature);
|
880 |
|
881 |
+
// Рассчитываем проценты оксидов
|
882 |
+
calculateOxidePercentages(call_data);
|
883 |
+
|
884 |
// Обновляем поле EC
|
885 |
const ecInput = document.getElementById('profile_ec');
|
886 |
if (ecInput) {
|
887 |
ecInput.value = ecValue.toFixed(2);
|
888 |
console.log(`Установлено значение EC: ${ecValue.toFixed(2)}`);
|
889 |
}
|
|
|
|
|
|
|
890 |
})
|
891 |
.catch(error => {
|
892 |
console.error("=== ОШИБКА ПРИ ОБРАБОТКЕ ===", error);
|