diff options
author | Camil Staps | 2016-01-06 21:22:42 +0100 |
---|---|---|
committer | Camil Staps | 2016-01-06 21:22:42 +0100 |
commit | 8599a067996b9089a41384bdb6fc3848d963a088 (patch) | |
tree | 8a2664be7f1964238694093becbe20aee4b3ea1b /public | |
parent | Disable spell check on input (diff) |
Stem is case insensitive
Diffstat (limited to 'public')
-rw-r--r-- | public/js/hebrewparsetrainer.js | 2 |
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]; } |