diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-24 19:27:41 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-24 19:27:41 -0500 |
| commit | 0dd74e2b672053e3296bc814a36988ba8463854f (patch) | |
| tree | ccd0c41d15324513f419fa2b157d65268b6b63b2 /app/static/js/create.js | |
| parent | 586285028845c8ed9a2e859f1266c233b8278311 (diff) | |
| download | Strengthy-0dd74e2b672053e3296bc814a36988ba8463854f.tar.xz Strengthy-0dd74e2b672053e3296bc814a36988ba8463854f.zip | |
Workout records are now written to the database
Diffstat (limited to 'app/static/js/create.js')
| -rw-r--r-- | app/static/js/create.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/static/js/create.js b/app/static/js/create.js index 832bbe2..cb22ad8 100644 --- a/app/static/js/create.js +++ b/app/static/js/create.js @@ -1,9 +1,8 @@ var rowsDiv = document.getElementById("rows"); var rowId = rowsDiv.children.length; - function handleAdd() { - newRow = rowsDiv.children[0].cloneNode(true); + newRow = rowsDiv.children[1].cloneNode(true); exerciseNameInput = newRow.children[0].children[0].children[0].children[0]; exerciseNameInput.value = ''; |
