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 6613ad1defa6cdc958064b27f2e968236510c5c9
parent 3f77ef5779e1f14438ab4b39e361364cf70e3f5b
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Mon,  6 Apr 2020 17:12:07 -0700

Fix iOS bug where user settings aren't saved.

Diffstat:
Mindex.html | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html @@ -11,7 +11,7 @@ <script src="Spanish Quizzer.js"></script> </head> - <body onload="Load()" onbeforeunload="UpdateLocalStorage()"> + <body onload="Load()"> <label id="title" onclick="Reload()">Spanish-Quizzer v2.2.0</label> <br/> @@ -79,18 +79,18 @@ <br/> <label class="label">Quizzer Settings</label> <br/> - <input type="checkbox" id="settingsDarkMode" onchange="document.body.classList.toggle('dark');"> + <input type="checkbox" id="settingsDarkMode" onchange="document.body.classList.toggle('dark'); UpdateLocalStorage();"> <label class="text" for="settingsDarkMode">Dark Mode</label> <br/> <label class="text" for="settingsPromptType">Prompt type</label> - <select id="settingsPromptType"> + <select id="settingsPromptType" onchange="UpdateLocalStorage();"> <option>Text</option> <option>Audio</option> <option>Both</option> </select> <br/> <label class="text" for="settingsRepeatPrompts">Repeat missed prompts</label> - <select id="settingsRepeatPrompts"> + <select id="settingsRepeatPrompts" onchange="UpdateLocalStorage();"> <option>Never</option> <option>Immediately</option> <option>5 prompts later</option>