summaryrefslogtreecommitdiff
path: root/app/static
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonmail.com>2022-04-24 19:27:41 -0500
committerstilbruch <stilbruch@protonmail.com>2022-04-24 19:27:41 -0500
commit0dd74e2b672053e3296bc814a36988ba8463854f (patch)
treeccd0c41d15324513f419fa2b157d65268b6b63b2 /app/static
parent586285028845c8ed9a2e859f1266c233b8278311 (diff)
downloadStrengthy-0dd74e2b672053e3296bc814a36988ba8463854f.tar.xz
Strengthy-0dd74e2b672053e3296bc814a36988ba8463854f.zip
Workout records are now written to the database
Diffstat (limited to 'app/static')
-rw-r--r--app/static/js/create.js3
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 = '';