aboutsummaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorCamil Staps2016-01-06 21:22:42 +0100
committerCamil Staps2016-01-06 21:22:42 +0100
commit8599a067996b9089a41384bdb6fc3848d963a088 (patch)
tree8a2664be7f1964238694093becbe20aee4b3ea1b /public/js
parentDisable spell check on input (diff)
Stem is case insensitive
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 4de3220..6dc43a0 100644
--- a/public/js/hebrewparsetrainer.js
+++ b/public/js/hebrewparsetrainer.js
@@ -126,7 +126,7 @@ $(document).ready(function(){
var tenses_abbr = [];
function findStem(stem) {
- var stems_ = stems.filter(function(s){return s.indexOf(stem) == 0;});
+ var stems_ = stems.filter(function(s){return s.toLowerCase().indexOf(stem.toLowerCase()) == 0;});
if (stems_.length == 1)
return stems_[0];
}