making sure to only pull the quotes once

This commit is contained in:
Jack 2020-08-02 22:24:34 +01:00
parent bda44ffdb9
commit d9531181f7

View file

@ -389,7 +389,7 @@ function initWords() {
});
}
if (config.mode === "quote") {
if (config.mode === "quote" && quotes.length == 0) {
showBackgroundLoader();
$.ajax({
url: "js/english_quotes.json",