aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Szopka <bartek.szopka+github@gmail.com>2012-03-07 23:02:09 +0100
committerBartek Szopka <bartek.szopka+github@gmail.com>2012-03-07 23:02:09 +0100
commit8321fa7861d32f980173a286b574a1954e954d11 (patch)
tree9d21a1177485738759395da569c6e214b9622a56
parent74a309a8036e1054989500ab06b3452ee8a1558d (diff)
downloadimpress.js-8321fa7861d32f980173a286b574a1954e954d11.tar.gz
iPad viewport size less hardcoded
-rw-r--r--js/impress.js2
1 files changed, 1 insertions, 1 deletions
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);