summaryrefslogtreecommitdiff
path: root/style.js
diff options
context:
space:
mode:
Diffstat (limited to 'style.js')
-rw-r--r--style.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/style.js b/style.js
index ad66cd0..29ff78a 100644
--- a/style.js
+++ b/style.js
@@ -31,6 +31,8 @@ if (typeof currentstyle === "undefined") {
loadCSS(currentstyle);
}
+document.addEventListener('DOMContentLoaded', function() {
+
var stylechooser = document.createElement("div");
stylechooser.setAttribute("id", "stylechooser");
stylechooser.innerHTML = "Styles: ";
@@ -40,3 +42,5 @@ document.getElementById("content").appendChild(stylechooser);
addCSS("default", "style.css");
addCSS("moe", "moe.css");
addCSS("simple", "simple.css");
+
+});