From f00b060f7014b34674f362ca4072dcdad1bd3817 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Fri, 17 May 2013 22:14:05 +0200 Subject: [PATCH] Fix #1109. Just how fucking difficult is it to integrate the catalog correctly? /slap @desuwa --- src/General/Main.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 51d33f5bb..00cc41300 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -33,7 +33,9 @@ Main = $.get Conf, Main.initFeatures $.on d, '4chanMainInit', Main.initStyle - $.asap (-> d.head and $('title', d.head) or d.readyState in ['interactive', 'complete']), + # comes after the stylesheets on the index/thread pages, but before on the catalog. + # <link favicon> comes after the stylesheets on the catalog, but before on the index/thread pages. + $.asap (-> d.head and $('title', d.head) and $('link[rel="shortcut icon"]', d.head) or d.readyState in ['interactive', 'complete']), Main.initStyle initFeatures: (items) ->