added IDs to quotes and added quoteId field to completedEvent

This commit is contained in:
Christopher Sarmiento 2020-07-02 20:11:51 -04:00
parent e1dcea5df9
commit 0be89133b6
2 changed files with 25007 additions and 15005 deletions

File diff suppressed because it is too large Load diff

View file

@ -922,7 +922,7 @@ function showResult(difficultyFailed = false) {
blindMode: config.blindMode,
theme: config.theme,
tags: activeTags,
source: config.mode == "quote" ? randomQuote.source : "N/A"
quoteId: config.mode == "quote" ? randomQuote.id : null
};
if (config.difficulty == "normal" || ((config.difficulty == "master" || config.difficulty == "expert") && !difficultyFailed)) {
// console.log(incompleteTestSeconds);