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 90817ebd8a5535ca0660b2f99970ea7ab3a3469d
parent 943d0e09ebf62729da3a0612525ec8f717e7495a
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Mon, 27 Jul 2020 17:38:10 -0700

Fix quizzer settings in ResumeSession method.

Diffstat:
MScripts/Settings.js | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Scripts/Settings.js b/Scripts/Settings.js @@ -257,9 +257,14 @@ function ResumeSession() { let terms = JSON.parse(localStorage.getItem(prefix + "terms")); let term = parseInt(localStorage.getItem(prefix + "term")); + // Get quizzer settings + inputType = document.getElementById("settingsInputType").value; + promptType = document.getElementById("settingsPromptType").value; + repeatPrompts = document.getElementById("settingsRepeatPrompts").value; + // Start quizzer try { - StartQuizzer(terms, term, prefix); + StartQuizzer(terms, term, prefix, inputType, promptType, repeatPrompts); // Show and hide elements document.getElementById("settings").hidden = true;