Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
IE10 Detection Javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Mar 4, 2015
1 parent 6582e36 commit 3998b74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
<!--[if !IE]><!--><script>
if (/*@cc_on!@*/false) {
document.documentElement.className+=' ie10';
}
</script><!--<![endif]-->
</head>
<body <?php body_class(); ?>>
<!--[if lt IE 7]> <div class="ie lte9 lte8 lte7 lte6"> <![endif]-->
Expand Down

0 comments on commit 3998b74

Please sign in to comment.