Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[ljcom] r10428: LJSUP-8673: Controlstrip not working if ...

Committer: dnikolaev
LJSUP-8673: Controlstrip not working if glued two css files

U   trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/ControlStrip.pm	2011-04-22 03:39:19 UTC (rev 10427)
+++ trunk/cgi-bin/LJ/Hooks/ControlStrip.pm	2011-04-22 06:03:00 UTC (rev 10428)
@@ -138,7 +138,8 @@
         if ($LJ::DISABLED{control_strip_new}) {
             LJ::need_res("stc/controlstrip-${color}.css");
         } else {
-            LJ::need_res("stc/controlstrip-${color}-new.css");
+            # controlstrip-dark-new.css does not exist, because dark is default
+            LJ::need_res("stc/controlstrip-${color}-new.css") if $color ne 'dark';
         }
         LJ::need_res("stc/controlstrip-${color}-local.css");
     }

Tags: ljcom, pm, wildkin
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