Last active
August 29, 2015 14:10
-
-
Save puikinsh/3506a8a7648a97b2a3ce to your computer and use it in GitHub Desktop.
Solving the Problem for Internet Explorer 10
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 !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