WTF
This commit is contained in:
parent
2b9a669b40
commit
8a0933b6ce
@ -47,7 +47,8 @@ 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);
|
||||
console.log(window.quote);
|
||||
console.log(window.quote); console.log(window.quote[0]; console.log(window.quote[1]);
|
||||
console.log(window.quote[0][0]);
|
||||
document.getElementById('getaquote').setAttribute('value', 'Get another free quote today!');
|
||||
document.getElementById('quote').textContent = '\"' + window.quote[0] + '\"';
|
||||
document.getElementById('quoteauthor').textContent = '~ ' + window.quote[1];
|
||||
@ -73,8 +74,10 @@ window.quotes = [
|
||||
"Darth Vader" ],
|
||||
[ "A checklist can aid here.",
|
||||
"Lance Leventhal" ],
|
||||
[ "Special thanks to Ками for their help adding quotes to this page.",
|
||||
"Deven Blake" ]
|
||||
[ "Special thanks to Ками for their help adding this quote feature to this page.",
|
||||
"Deven Blake" ],
|
||||
[ "It soothes. It heals. It protects.",
|
||||
"Unknown" ]
|
||||
];
|
||||
</SCRIPT>
|
||||
<SCRIPT TYPE="application/javascript">
|
||||
|
Loading…
Reference in New Issue
Block a user