aboutsummaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorCamil Staps2016-11-11 13:28:09 +0100
committerCamil Staps2016-11-11 13:28:09 +0100
commit758ac4e8545e10971f4f640fa752702a819eace8 (patch)
tree61fba5de1799843758a6f41c43332e1016a4de27 /public/js
parentHide top users on some pages (diff)
Checkboxes instead of select for roots
Diffstat (limited to 'public/js')
-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 e5666be..db710e1 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/', {
data: {