This commit is contained in:
parent
3e264237b8
commit
e75ffc06e5
@ -34,6 +34,7 @@ var exerciseTypes = [
|
|||||||
{ name: "Supported Biceps Curl", tags: ["biceps"] },
|
{ name: "Supported Biceps Curl", tags: ["biceps"] },
|
||||||
{ name: "Deadlift", tags: [] },
|
{ name: "Deadlift", tags: [] },
|
||||||
{ name: "Standing Calf Raises", tags: ["leg"] },
|
{ name: "Standing Calf Raises", tags: ["leg"] },
|
||||||
|
{ name: "Hamstring Curl", tags: ["leg"] },
|
||||||
{ name: "Leg Press", tags: ["leg"] },
|
{ name: "Leg Press", tags: ["leg"] },
|
||||||
{ name: "Squat", tags: ["leg"] },
|
{ name: "Squat", tags: ["leg"] },
|
||||||
{ name: "Leg Curl", tags: ["leg"] },
|
{ name: "Leg Curl", tags: ["leg"] },
|
||||||
|
6
main.js
6
main.js
@ -25,7 +25,9 @@ function updateExercises() {
|
|||||||
var workoutSelectionArea = document.getElementById("workout-selection-area");
|
var workoutSelectionArea = document.getElementById("workout-selection-area");
|
||||||
workoutSelectionArea.innerHTML = '';
|
workoutSelectionArea.innerHTML = '';
|
||||||
}
|
}
|
||||||
localStorage.setItem("exercises", JSON.stringify(exercises));
|
if (exercises[t] != null && exercises[t] != {}) {
|
||||||
|
localStorage.setItem("exercises", JSON.stringify(exercises));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function swap_right(i) {
|
function swap_right(i) {
|
||||||
@ -180,7 +182,7 @@ function loadPredefinedWorkouts(workoutType) {
|
|||||||
{ exerciseType: "Machine Shoulder Press", repetitionType: "8-12", reps: "", weight: "" },
|
{ exerciseType: "Machine Shoulder Press", repetitionType: "8-12", reps: "", weight: "" },
|
||||||
{ exerciseType: "Butterfly", repetitionType: "12-15", reps: "", weight: "" },
|
{ exerciseType: "Butterfly", repetitionType: "12-15", reps: "", weight: "" },
|
||||||
{ exerciseType: "Side Lateral Raise", repetitionType: "5-8", reps: "", weight: "" },
|
{ exerciseType: "Side Lateral Raise", repetitionType: "5-8", reps: "", weight: "" },
|
||||||
{ exerciseType: "Cable Triceps", repetitionType: "3-5", reps: "", weight: "" }
|
{ exerciseType: "Cable Rope Triceps Extension", repetitionType: "3-5", reps: "", weight: "" }
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user