aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorCamil Staps2017-09-20 17:20:29 +0200
committerCamil Staps2017-09-20 17:20:29 +0200
commited07a449a8fe98525c64c31d9604addc22a20c3a (patch)
treef29099faaebe53efe6733043049e94213e27aaeb /public
parentInclude root in answers (diff)
parentCheckboxes instead of select for roots (diff)
Merge branch 'master' of github.com:HebrewTools/ParseTrainer
Diffstat (limited to 'public')
-rw-r--r--public/js/hebrewparsetrainer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/hebrewparsetrainer.js b/public/js/hebrewparsetrainer.js
index 5bd8d04..db51117 100644
--- a/public/js/hebrewparsetrainer.js
+++ b/public/js/hebrewparsetrainer.js
@@ -152,7 +152,7 @@ $(document).ready(function(){
var stems = $('input[name="stem"]:checked').map(function(){return this.value;});
var tenses = $('input[name="tense"]:checked').map(function(){return this.value;});
- var roots = $('select[name="root"]').val();
+ var roots = $('input[name="root"]:checked').map(function(){return this.value;});
$.ajax('verb/random/', {
method: 'POST',