summaryrefslogtreecommitdiff
path: root/app/static
diff options
context:
space:
mode:
Diffstat (limited to 'app/static')
-rw-r--r--app/static/js/record.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/static/js/record.js b/app/static/js/record.js
index 68538ca..977901f 100644
--- a/app/static/js/record.js
+++ b/app/static/js/record.js
@@ -236,7 +236,7 @@ function onKeyDown(event) {
if (!targetNode.parentElement.parentElement.isEqualNode(currentNode.parentElement.parentElement)) {
// going to new row
- if (currentNode.value != "" && allInputs[currentIndex-1].value != "") {
+ if (currentNode.value != "" && allInputs[currentIndex - 1].value && allINputs[currentIndex - 1] != "") {
onClickSetCheck(currentNode.parentElement.parentElement.children[3].children[0]);
}
}