From e4a4f5a0152865f5d017ad809c3b5fbaffc1b420 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 23 Aug 2014 08:20:28 -0700 Subject: [PATCH] change "thread" class added to document root to "thread-view" to avoid name clash --- src/General/Main.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 6c32cabb0..05893be36 100755 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -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()