moved quoteid to mode2

This commit is contained in:
Jack 2020-07-03 15:38:00 +01:00
parent 88f6e4ecf8
commit d6da3639d6

View file

@ -900,6 +900,8 @@ function showResult(difficultyFailed = false) {
// $("#result .stats .time .bottom").text(roundedToFixed(stats.time,1)+'s');
} else if (config.mode === "custom") {
mode2 = "custom";
} else if (config.mode === "quote") {
mode2 = randomQuote.id;
}
let labels = [];
@ -988,7 +990,6 @@ function showResult(difficultyFailed = false) {
blindMode: config.blindMode,
theme: config.theme,
tags: activeTags,
quoteId: config.mode == "quote" ? randomQuote.id : null,
};
if (
config.difficulty == "normal" ||