Fix #586
This commit is contained in:
parent
0b65c2af56
commit
0d7668472f
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* appchan x - Version 2.8.11 - 2014-02-16
|
||||
* appchan x - Version 2.8.11 - 2014-02-17
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* appchan x - Version 2.8.11 - 2014-02-16
|
||||
* appchan x - Version 2.8.11 - 2014-02-17
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -13621,9 +13621,6 @@
|
||||
Style.sheets[item[0]] = $.addStyle(item[1], item[0]);
|
||||
}
|
||||
$.addStyle(JSColor.css(), 'jsColor');
|
||||
$.asap((function() {
|
||||
return d.head;
|
||||
}), Style.remStyle);
|
||||
$.asap((function() {
|
||||
return d.body;
|
||||
}), this.asapInit);
|
||||
@ -13639,6 +13636,7 @@
|
||||
$.addClass(doc, 'fourchan-x');
|
||||
$.addClass(doc, 'appchan-x');
|
||||
$.addClass(doc, g.VIEW);
|
||||
Style.remStyle();
|
||||
_ref = Config.style;
|
||||
for (title in _ref) {
|
||||
cat = _ref[title];
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* appchan x - Version 2.8.11 - 2014-02-16
|
||||
* appchan x - Version 2.8.11 - 2014-02-17
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -13622,9 +13622,6 @@
|
||||
Style.sheets[item[0]] = $.addStyle(item[1], item[0]);
|
||||
}
|
||||
$.addStyle(JSColor.css(), 'jsColor');
|
||||
$.asap((function() {
|
||||
return d.head;
|
||||
}), Style.remStyle);
|
||||
$.asap((function() {
|
||||
return d.body;
|
||||
}), this.asapInit);
|
||||
@ -13641,6 +13638,7 @@
|
||||
$.addClass(doc, 'appchan-x');
|
||||
$.addClass(doc, g.VIEW);
|
||||
$.add(d.body, Style.svgs.el);
|
||||
Style.remStyle();
|
||||
_ref = Config.style;
|
||||
for (title in _ref) {
|
||||
cat = _ref[title];
|
||||
|
||||
@ -25,8 +25,6 @@ Style =
|
||||
# Non-customizable
|
||||
$.addStyle JSColor.css(), 'jsColor'
|
||||
|
||||
$.asap (-> d.head), Style.remStyle
|
||||
|
||||
$.asap (-> d.body), @asapInit
|
||||
$.asap (-> Header.bar.parentElement), Style.padding
|
||||
$.on window, "resize", Style.padding
|
||||
@ -46,6 +44,8 @@ Style =
|
||||
$.add d.body, Style.svgs.el
|
||||
<% } %>
|
||||
|
||||
Style.remStyle()
|
||||
|
||||
for title, cat of Config.style
|
||||
for name, setting of cat
|
||||
continue if !Conf[name] or setting[2] is 'text' or name in ['NSFW/SFW Themes', 'NSFW/SFW Mascots']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user