From 8321fa7861d32f980173a286b574a1954e954d11 Mon Sep 17 00:00:00 2001 From: Bartek Szopka Date: Wed, 7 Mar 2012 23:02:09 +0100 Subject: [PATCH] iPad viewport size less hardcoded --- js/impress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/impress.js b/js/impress.js index bb26afe..efef289 100644 --- a/js/impress.js +++ b/js/impress.js @@ -135,7 +135,7 @@ var meta = $("meta[name='viewport']") || document.createElement("meta"); // hardcoding these values looks pretty bad, as they kind of depend on the content // so they should be at least configurable - meta.content = "width=1024, minimum-scale=0.75, maximum-scale=0.75, user-scalable=no"; + meta.content = "width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no"; if (meta.parentNode != document.head) { meta.name = 'viewport'; document.head.appendChild(meta);