Skip to content

Instantly share code, notes, and snippets.

@puikinsh
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save puikinsh/3506a8a7648a97b2a3ce to your computer and use it in GitHub Desktop.
Save puikinsh/3506a8a7648a97b2a3ce to your computer and use it in GitHub Desktop.
Solving the Problem for Internet Explorer 10
<!--[if !IE]><!-->
<script>
if (Function('/*@cc_on return document.documentMode===10@*/')() && window.innerWidth >= 980) {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.href = 'css/fonts.min.css';
document.getElementsByTagName('head')[0].appendChild(link);
}
</script>
<!--<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment