Skip to content

Commit

Permalink
Moves our 'old ie' patches to load AFTER the css to work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Oct 17, 2014
1 parent 4a92054 commit 22d0709
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/core/subsystems/expTheme.php
Expand Up @@ -301,6 +301,9 @@ public static function headerInfo($config)
$str .= "\t" . '<link rel="apple-touch-icon-precomposed" href="' . URL_FULL . 'themes/' . DISPLAY_THEME . '/apple-touch-icon-precomposed.png" ' . XHTML_CLOSING . '>' . "\n";
}

// when minification is used, the comment below gets replaced when the buffer is dumped
$str .= '<!-- MINIFY REPLACE -->';

if ($config['meta']['ie_compat']) {
// some IE 6 support
$str .= "\t" . '<!--[if IE 6]><style type="text/css"> body { behavior: url(' . PATH_RELATIVE . 'external/csshover.htc); }</style><![endif]-->' . "\n";
Expand All @@ -315,9 +318,6 @@ public static function headerInfo($config)
$str .= "\t" . '<!--[if lt IE 9]><script src="' . PATH_RELATIVE . 'external/excanvas.js"></script><![endif]-->' . "\n";
}

// when minification is used, the comment below gets replaced when the buffer is dumped
$str .= '<!-- MINIFY REPLACE -->';

return $str;
}

Expand Down

0 comments on commit 22d0709

Please sign in to comment.