Remove old test for Halloween theme.

This commit is contained in:
ccd0 2017-10-30 09:54:01 -07:00
parent fd84cc281d
commit f7d54cf8f9

View File

@ -219,12 +219,6 @@ Main =
Main.setClass()
setClass: ->
if (spooky = $ 'link[rel="stylesheet"][href^="//s.4cdn.org/css/spooky."]', d.head)
spooky.removeAttribute 'media'
if getComputedStyle(d.body).color is 'rgb(196, 151, 86)' # not blocked
$.addClass doc, 'spooky'
return
if g.VIEW is 'catalog'
$.addClass doc, $.id('base-css').href.match(/catalog_(\w+)/)[1].replace('_new', '').replace /_+/g, '-'
return