hope this is a fix
This commit is contained in:
parent
c177ff6cd9
commit
c4aaf44906
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user