Committer: wisest-owl
LJSUP-14109: Remove css if line is closed.U trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/Hooks/ControlStrip.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/ControlStrip.pm 2012-11-14 08:12:28 UTC (rev 12895) +++ trunk/cgi-bin/LJ/Hooks/ControlStrip.pm 2012-11-14 08:14:44 UTC (rev 12896) @@ -123,7 +123,8 @@ 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)); + LJ::need_res(qw(stc/friendsfeed-msg.css stc/friendsfeed-indent.css)) + if $remote && $remote->prop ('closed_feed_line') ne $LJ::CURRENT_VERSION; } my $color;