Название вашего журнала (quwiero) wrote in changelog,
Название вашего журнала
quwiero
changelog

[ljcom] r12825: LJSUP-14058: Friendsfeed: Option to swit...

Committer: sboronchiev
LJSUP-14058: Friendsfeed: Option to switch to new friends feed hidden in some styles
U   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;

Tags: ljcom, pm, quwiero, sboronchiev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments