1
0

hope this is a fix

This commit is contained in:
devenblake 2020-12-20 22:35:17 -05:00
parent c177ff6cd9
commit c4aaf44906

View File

@ -26,7 +26,7 @@ window.setStyling = function(sheet) {
window.genQuote = function() {
if(window.quote) window.quotes.push(window.quote);
quoteindex = Math.floor(Math.random() * window.quotes.length);
window.quote = window.quotes.splice(quoteindex, 1);
window.quote = window.quotes.splice(quoteindex, 1)[0];
console.log("Quote set to:");
console.log(window.quote);
console.log(window.quotes);