1moretime
This commit is contained in:
parent
e3b209c6ab
commit
69c967a9b2
|
@ -44,7 +44,7 @@ window.getCookie = function(cname) {
|
|||
window.genQuote = function() {
|
||||
quotes = window.quotes
|
||||
quote = Math.floor(Math.random() * quotes.length);
|
||||
document.getElementById('getaquote').textContent = 'Get another free quote today!';
|
||||
document.getElementById('getaquote').setAttribute('value', 'Get another free quote today!');
|
||||
document.getElementById('quote').textContent = '\"' + quotes[quote][0] + '\"';
|
||||
document.getElementById('quoteauthor').textContent = '~ ' + quotes[quote][1];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user