From e53cd5e57a2816519da757756ec94993994221a4 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sat, 29 Jun 2013 19:08:14 +0000 Subject: [PATCH] iPad/iPhone reports a width of 980 pixels --- experiments/spclient/index-mobile.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/experiments/spclient/index-mobile.html b/experiments/spclient/index-mobile.html index 86dbe35..61ff0ae 100644 --- a/experiments/spclient/index-mobile.html +++ b/experiments/spclient/index-mobile.html @@ -38,7 +38,9 @@ debug("resize width: " + $(window).height() + ", width: " + $(window).width()); var list = ["mkwsSwitch"]; var obj; - if ($(window).width() <= 600) { + // alert($(window).width()); + + if ($(window).width() <= 980) { for(var i = 0; i < list.length; i++) { $("#" + list[i]).hide(); } -- 1.7.10.4