summaryrefslogtreecommitdiff
path: root/app/static/js/create.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/static/js/create.js')
-rw-r--r--app/static/js/create.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/static/js/create.js b/app/static/js/create.js
index cb22ad8..b65bc5a 100644
--- a/app/static/js/create.js
+++ b/app/static/js/create.js
@@ -2,7 +2,7 @@ var rowsDiv = document.getElementById("rows");
var rowId = rowsDiv.children.length;
function handleAdd() {
- newRow = rowsDiv.children[1].cloneNode(true);
+ newRow = rowsDiv.children[0].cloneNode(true);
exerciseNameInput = newRow.children[0].children[0].children[0].children[0];
exerciseNameInput.value = '';