Committer: sboronchiev
LJSUP-14058: Friendsfeed: Option to switch to new friends feed hidden in some stylesU trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/Hooks/ControlStrip.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/ControlStrip.pm 2012-10-25 07:56:27 UTC (rev 12824) +++ trunk/cgi-bin/LJ/Hooks/ControlStrip.pm 2012-10-25 08:30:46 UTC (rev 12825) @@ -120,8 +120,12 @@ $u = LJ::load_userid(LJ::Request->notes("journalid")); } - LJ::need_res(qw(stc/controlstrip-new.css stc/friendsfeed-msg.css)); + LJ::need_res(qw(stc/controlstrip-new.css)); + if ((LJ::Request->notes('view') || '') eq 'friends') { + LJ::need_res(qw(stc/friendsfeed-msg.css stc/friendsfeed-indent.css)); + } + my $color; my %GET = LJ::Request->args;