summaryrefslogtreecommitdiff
path: root/app/static
diff options
context:
space:
mode:
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 = '';