Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r16325: LJSUP-5580: Add conditional (IE) CSS fil...

Committer: gariev
LJSUP-5580: Add conditional (IE) CSS file that will be loaded on all LJ pages
U   trunk/cgi-bin/ljlib.pl
A   trunk/htdocs/stc/ie.css
Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2010-03-04 07:55:26 UTC (rev 16324)
+++ trunk/cgi-bin/ljlib.pl	2010-03-04 08:12:38 UTC (rev 16325)
@@ -2146,10 +2146,8 @@
                               stc/contextualhover.css
                               )) if $LJ::CTX_POPUP;
 
-              LJ::need_res(qw(
-                              js/devel.js
-                              js/livejournal-devel.js
-                              )) if $LJ::IS_DEV_SERVER;
+              # Conditional IE CSS file for all pages 
+              LJ::need_res({condition => 'IE'}, 'stc/ie.css');
           }
     }
 

Tags: css, gariev, livejournal, pl
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