The 4chanMainInit event is now dispatched in the catalog too.

This commit is contained in:
Mayhem 2013-06-29 16:33:48 +02:00
parent e889c79dc5
commit badc11d4c0

View File

@ -33,10 +33,6 @@ Main =
$.get Conf, Main.initFeatures
$.on d, '4chanMainInit', Main.initStyle
# <title> 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