Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jimfleming/521258 to your computer and use it in GitHub Desktop.
Save jimfleming/521258 to your computer and use it in GitHub Desktop.
var head = document.getElementsByTagName('head')[0];
var meta = document.createElement('meta');
meta.setAttribute('http-equiv', 'X-UA-Compatible');
meta.setAttribute('content', 'IE=EmulateIE7');
head.appendChild(meta);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment