Skip to content

Commit

Permalink
Do not deliver code for outdated unsupported IE9 browser
Browse files Browse the repository at this point in the history
Fixes #23451
  • Loading branch information
atrol committed Oct 11, 2017
1 parent a892b84 commit 372f08f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 45 deletions.
10 changes: 1 addition & 9 deletions core/layout_api.php
Expand Up @@ -276,20 +276,12 @@ function layout_head_css() {
# theme styles
html_css_link( 'ace.min.css' );
html_css_link( 'ace-mantis.css' );

# handle IE separately
echo '<!--[if lte IE 9]>';
html_css_link( 'ace-part2.min.css' );
echo '<![endif]-->';
html_css_link( 'ace-skins.min.css' );

if( layout_is_rtl() ) {
html_css_link( 'ace-rtl.min.css' );
}

echo '<!--[if lte IE 9]>';
html_css_link( 'ace-ie.min.css' );
echo '<![endif]-->';
echo "\n";
}

Expand Down Expand Up @@ -1247,4 +1239,4 @@ function layout_login_page_logo() {
<img src="<?php echo helper_mantis_url( config_get( 'logo_image' ) ); ?>">
</div>
<?php
}
}
18 changes: 0 additions & 18 deletions css/ace-ie.min.css

This file was deleted.

0 comments on commit 372f08f

Please sign in to comment.