Now shows quote count on that one quote

This commit is contained in:
Bingus_Violet 2024-01-26 16:53:59 +00:00
parent 8745e8cf10
commit bf54a2c1b4

View file

@ -279,7 +279,11 @@ function pageUpdate() {
html = html.replace("{THUMBOR}", getThumbor())
html = html.replace("{RANDOM_QUOTE}", randomQuotes[Math.floor(Math.random() * randomQuotes.length)])
var quote = randomQuotes[Math.floor(Math.random() * randomQuotes.length)]
quote = quote.replace("{QUOTE_COUNT}", randomQuotes.length)
html = html.replace("{RANDOM_QUOTE}", quote)
if (process.env.BRANCH == "dev") {
html = html.replace("{OPPOSITE_URL}", "www")