Remove old test for Halloween theme.
This commit is contained in:
parent
fd84cc281d
commit
f7d54cf8f9
@ -219,12 +219,6 @@ Main =
|
|||||||
Main.setClass()
|
Main.setClass()
|
||||||
|
|
||||||
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'
|
if g.VIEW is 'catalog'
|
||||||
$.addClass doc, $.id('base-css').href.match(/catalog_(\w+)/)[1].replace('_new', '').replace /_+/g, '-'
|
$.addClass doc, $.id('base-css').href.match(/catalog_(\w+)/)[1].replace('_new', '').replace /_+/g, '-'
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user