This is also redundant it seems

This commit is contained in:
Jordan Bates 2013-05-15 12:05:26 -07:00
parent 6bdc8e59db
commit 0adfd27112
4 changed files with 0 additions and 8 deletions

View File

@ -10054,7 +10054,6 @@
}
Conf['selectedArchives'] = {};
$.get(Conf, Main.initFeatures);
$.on(d, '4chanMainInit', Main.initStyle);
return $.asap((function() {
var _ref;
@ -10185,7 +10184,6 @@
initStyle: function() {
var MutationObserver, mainStyleSheet, observer, setStyle, style, styleSheets, _ref;
$.off(d, '4chanMainInit', Main.initStyle);
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}

View File

@ -10065,7 +10065,6 @@
}
Conf['selectedArchives'] = {};
$.get(Conf, Main.initFeatures);
$.on(d, '4chanMainInit', Main.initStyle);
return $.asap((function() {
var _ref;
@ -10196,7 +10195,6 @@
initStyle: function() {
var MutationObserver, mainStyleSheet, observer, setStyle, style, styleSheets, _ref;
$.off(d, '4chanMainInit', Main.initStyle);
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}

View File

@ -10046,7 +10046,6 @@
}
Conf['selectedArchives'] = {};
$.get(Conf, Main.initFeatures);
$.on(d, '4chanMainInit', Main.initStyle);
return $.asap((function() {
var _ref;
@ -10177,7 +10176,6 @@
initStyle: function() {
var MutationObserver, mainStyleSheet, observer, setStyle, style, styleSheets, _ref;
$.off(d, '4chanMainInit', Main.initStyle);
if (!Main.isThisPageLegit() || $.hasClass(doc, 'fourchan-x')) {
return;
}

View File

@ -18,7 +18,6 @@ Main =
$.get Conf, Main.initFeatures
$.on d, '4chanMainInit', Main.initStyle
$.asap (-> d.head and $('link[rel="shortcut icon"]', d.head) or d.readyState in ['interactive', 'complete']),
Main.initStyle
@ -133,7 +132,6 @@ Main =
$.ready Main.initReady
initStyle: ->
$.off d, '4chanMainInit', Main.initStyle
return if !Main.isThisPageLegit() or $.hasClass doc, 'fourchan-x'
# disable the mobile layout
$('link[href*=mobile]', d.head)?.disabled = true