Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<meta name="viewport" id="nypviewport" content="" />
<script type="text/javascript">
var mvp = document.getElementById('nypviewport');
if (screen.width <= 640) {
mvp.setAttribute('content','width=device-width, initial-scale=1');

This comment has been minimized.

Copy link

danielfilho commented Sep 25, 2013

effective js is effective.

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.