summaryrefslogtreecommitdiff
path: root/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'javascripts')
-rw-r--r--javascripts/scale.fix.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/javascripts/scale.fix.js b/javascripts/scale.fix.js
deleted file mode 100644
index 87a40ca..0000000
--- a/javascripts/scale.fix.js
+++ /dev/null
@@ -1,17 +0,0 @@
-var metas = document.getElementsByTagName('meta');
-var i;
-if (navigator.userAgent.match(/iPhone/i)) {
- for (i=0; i<metas.length; i++) {
- if (metas[i].name == "viewport") {
- metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
- }
- }
- document.addEventListener("gesturestart", gestureStart, false);
-}
-function gestureStart() {
- for (i=0; i<metas.length; i++) {
- if (metas[i].name == "viewport") {
- metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
- }
- }
-} \ No newline at end of file