diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-27 02:36:32 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-27 02:36:32 +1100 |
| commit | 15a74b15232fbf3f19878e21b861737f186f2b7c (patch) | |
| tree | 1e4a9c682b7e0a53033a9e22b4e4223af7d81b7c /main.js | |
| parent | 99a51ddca9270b030620f5e62bb6744418b053cc (diff) | |
Stylesheets, etc.
Diffstat (limited to 'main.js')
| -rw-r--r-- | main.js | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -41,8 +41,8 @@ function citeReply(id) { var selectedstyle = 'Yotsuba B';
var styles = [
- ['Yotsuba B', '/default.css'],
- ['Yotsuba', '/yotsuba.css']
+ ['Yotsuba B', '/board/default.css'],
+ ['Yotsuba', '/board/yotsuba.css']
];
function changeStyle(x) {
@@ -51,12 +51,6 @@ function changeStyle(x) { selectedstyle = styles[x][0];
}
-newLink = document.createElement('link');
-newLink.rel = 'stylesheet';
-newLink.type = 'text/css';
-newLink.id = 'stylesheet';
-document.getElementsByTagName('head')[0].insertBefore(newLink, document.getElementsByTagName('link')[0].lastChild)
-
if(localStorage.stylesheet) {
for(x=0;x<styles.length;x++) {
if(styles[x][1] == localStorage.stylesheet) {
|
