spanish-quizzer

An app to quiz you on Spanish vocabulary and verb conjugations
git clone https://git.ashermorgan.net/spanish-quizzer/
Log | Files | Refs | README

commit d38911a9861c0c0e6fb821b8226489a08e6f9dd4
parent 859e3cddd69a95da56e49e4117a3eead5dffef9b
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Fri,  4 Sep 2020 19:55:01 -0700

Fix issue with word type filters.

Diffstat:
MScripts/Settings.js | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/Scripts/Settings.js b/Scripts/Settings.js @@ -133,6 +133,24 @@ function ApplyVocabFilter(vocabSet, name) { io = [[3,0], [5,0], [6,0], [7,0], [8,0], [9,0], [11,0], [12,0], [13,0], [14,0], [15,0], [17,0], [18,0], [19,0], [20,0], [21,0]]; value = []; break; + + case "Nouns": + io = [[0,1], [1,0]]; + value = [[2, ["Noun"], false]]; + break; + case "Verbs": + io = [[0,1], [1,0]]; + value = [[2, ["Verb"], false]]; + break; + case "Adjectives": + io = [[0,1], [1,0]]; + value = [[2, ["Adjective"], false]]; + break; + + default: + io = []; + value = []; + break; } // Filter terms by value