change
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jesko Dujmovic 2021-10-22 18:54:48 +02:00
parent b46ae02bdf
commit 118595a072

View File

@ -15,10 +15,10 @@ function updateExercises() {
exercises[t] = []; exercises[t] = [];
for (const element of exerciseList) { for (const element of exerciseList) {
exercises[t].push({ exercises[t].push({
exerciseType: element.childNodes[3].value, exerciseType: element.childNodes[1].childNodes[1].value,
repetitionType: element.childNodes[4].value, repetitionType: element.childNodes[1].childNodes[2].value,
reps: element.childNodes[6].value, reps: element.childNodes[2].childNodes[1].value,
weight: element.childNodes[8].value weight: element.childNodes[3].childNodes[1].value
}); });
} }
if (exercisesEdited(exercises[t])) { if (exercisesEdited(exercises[t])) {