Revert Mayhem's initStyle changes
Oddly enough, though he did this to fix the wrong color scheme showing, in this fork it CREATED that bug.
This commit is contained in:
parent
13957f0ad2
commit
6bdc8e59db
@ -10058,7 +10058,7 @@
|
|||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
var _ref;
|
var _ref;
|
||||||
|
|
||||||
return d.head && $('title', d.head) || ((_ref = d.readyState) === 'interactive' || _ref === 'complete');
|
return d.head && $('link[rel="shortcut icon"]', d.head) || ((_ref = d.readyState) === 'interactive' || _ref === 'complete');
|
||||||
}), Main.initStyle);
|
}), Main.initStyle);
|
||||||
},
|
},
|
||||||
initFeatures: function(items) {
|
initFeatures: function(items) {
|
||||||
|
|||||||
@ -10069,7 +10069,7 @@
|
|||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
var _ref;
|
var _ref;
|
||||||
|
|
||||||
return d.head && $('title', d.head) || ((_ref = d.readyState) === 'interactive' || _ref === 'complete');
|
return d.head && $('link[rel="shortcut icon"]', d.head) || ((_ref = d.readyState) === 'interactive' || _ref === 'complete');
|
||||||
}), Main.initStyle);
|
}), Main.initStyle);
|
||||||
},
|
},
|
||||||
initFeatures: function(items) {
|
initFeatures: function(items) {
|
||||||
|
|||||||
@ -10050,7 +10050,7 @@
|
|||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
var _ref;
|
var _ref;
|
||||||
|
|
||||||
return d.head && $('title', d.head) || ((_ref = d.readyState) === 'interactive' || _ref === 'complete');
|
return d.head && $('link[rel="shortcut icon"]', d.head) || ((_ref = d.readyState) === 'interactive' || _ref === 'complete');
|
||||||
}), Main.initStyle);
|
}), Main.initStyle);
|
||||||
},
|
},
|
||||||
initFeatures: function(items) {
|
initFeatures: function(items) {
|
||||||
|
|||||||
@ -19,7 +19,7 @@ Main =
|
|||||||
$.get Conf, Main.initFeatures
|
$.get Conf, Main.initFeatures
|
||||||
|
|
||||||
$.on d, '4chanMainInit', Main.initStyle
|
$.on d, '4chanMainInit', Main.initStyle
|
||||||
$.asap (-> d.head and $('title', d.head) or d.readyState in ['interactive', 'complete']),
|
$.asap (-> d.head and $('link[rel="shortcut icon"]', d.head) or d.readyState in ['interactive', 'complete']),
|
||||||
Main.initStyle
|
Main.initStyle
|
||||||
|
|
||||||
initFeatures: (items) ->
|
initFeatures: (items) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user