Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Ensure that viewport width is set correctly on Windows Phone 8. Place this in <head> of HTML
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement("style");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.