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() {
|
window.genQuote = function() {
|
||||||
if(window.quote) window.quotes.push(window.quote);
|
if(window.quote) window.quotes.push(window.quote);
|
||||||
quoteindex = Math.floor(Math.random() * window.quotes.length);
|
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("Quote set to:");
|
||||||
console.log(window.quote);
|
console.log(window.quote);
|
||||||
console.log(window.quotes);
|
console.log(window.quotes);
|
||||||
|
Loading…
Reference in New Issue
Block a user