mirror of https://github.com/calzoneman/sync.git
Resolve #420
This commit is contained in:
parent
c39c394f36
commit
db7d1a22c8
|
@ -5,8 +5,6 @@ mixin head()
|
|||
meta(name="author", content="#{siteAuthor}")
|
||||
|
||||
title= siteTitle
|
||||
link(href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css", rel="stylesheet")
|
||||
//link(href="/css/bootstrap-theme.min.css", rel="stylesheet")
|
||||
link(href="/css/sticky-footer-navbar.css", rel="stylesheet")
|
||||
link(href="/css/cytube.css", rel="stylesheet")
|
||||
link(id="usertheme", href="/css/themes/slate.css", rel="stylesheet")
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -683,7 +683,7 @@ function storeOpts() {
|
|||
|
||||
function applyOpts() {
|
||||
if ($("#usertheme").attr("href") !== USEROPTS.theme) {
|
||||
$("#usertheme").remove();
|
||||
var old = $("#usertheme").attr("id", "usertheme_old");
|
||||
var theme = USEROPTS.theme;
|
||||
if (theme === "default") {
|
||||
theme = "/css/themes/slate.css";
|
||||
|
@ -692,6 +692,7 @@ function applyOpts() {
|
|||
.attr("type", "text/css")
|
||||
.attr("id", "usertheme")
|
||||
.attr("href", theme)
|
||||
.attr("onload", "$('#usertheme_old').remove()")
|
||||
.appendTo($("head"));
|
||||
fixWeirdButtonAlignmentIssue();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue