From badc11d4c0d194e6b5beeac75a1b2bce78062a22 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Sat, 29 Jun 2013 16:33:48 +0200 Subject: [PATCH] The `4chanMainInit` event is now dispatched in the catalog too. --- src/General/Main.coffee | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/General/Main.coffee b/src/General/Main.coffee index ec9243352..7544b9637 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -33,10 +33,6 @@ Main = $.get Conf, Main.initFeatures $.on d, '4chanMainInit', Main.initStyle - # 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 isnt 'loading'), - Main.initStyle initFeatures: (items) -> Conf = items