Created
July 26, 2019 14:45
-
-
Save jessycormier/640c429338d7928e28eff89cd10e29a5 to your computer and use it in GitHub Desktop.
Enable HTML5 elements for <IE9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<script> | |
//Enable HTML5 elements for <IE9 | |
'abbr article aside audio bdi canvas data datalist details dialog \ | |
figcaption figure footer header hgroup main mark meter nav output \ | |
progress section summary template time video'.replace(/\w+/g,function(n){document.createElement(n)}); | |
</script> | |
<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment