change "thread" class added to document root to "thread-view" to avoid name clash
This commit is contained in:
parent
3ac0556336
commit
e4a4f5a015
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user