diff --git a/homepage/index.html b/homepage/index.html
index 726202f..c455e6f 100644
--- a/homepage/index.html
+++ b/homepage/index.html
@@ -8,7 +8,7 @@
-
(d+(7-s))
+(d + (7 - s))
@@ -43,23 +43,17 @@ window.getCookie = function(cname) {
/* end stolen code; */
-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);
- document.getElementById('getaquote').setAttribute('value', 'Get another free quote today!');
- document.getElementById('quote').textContent = '\"' + window.quote[0] + '\"';
- document.getElementById('quoteauthor').textContent = '~ ' + window.quote[1];
-}
+window.onload = function() {
+ var sheet = window.getCookie('sheet');
+ if(sheet != '') window.setStyling(sheet);
+ window.quote = "";
+};
window.setStyling = function(sheet) {
document.getElementById('styling').setAttribute('href', sheet);
return sheet;
};
-/* QUOTES! */
-
window.quotes = [
[ "Yeah, that's just how it is. Just, nothing. So much nothing that it hurts.",
"danger/u/ aefd79" ],
@@ -76,13 +70,17 @@ window.quotes = [
[ "Special thanks to Ками for their help adding quotes to this page.",
"Deven Blake" ]
];
-
-