change "thread" class added to document root to "thread-view" to avoid name clash

This commit is contained in:
ccd0 2014-08-23 08:20:28 -07:00
parent 3ac0556336
commit e4a4f5a015

View File

@ -88,7 +88,9 @@ Main =
return if !Main.isThisPageLegit() or $.hasClass doc, 'fourchan-x'
# disable the mobile layout
$('link[href*=mobile]', d.head)?.disabled = true
$.addClass doc, 'fourchan-x', 'seaweedchan', g.VIEW, if chrome? then 'blink' else 'gecko'
$.addClass doc, 'fourchan-x', 'seaweedchan'
$.addClass doc, if g.VIEW is 'thread' then 'thread-view' else g.VIEW
$.addClass doc, if chrome? then 'blink' else 'gecko'
$.addStyle Main.css
Main.setClass()