From: Wolfram Schneider Date: Sat, 29 Jun 2013 19:08:14 +0000 (+0000) Subject: iPad/iPhone reports a width of 980 pixels X-Git-Tag: 0.9.1~404 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=e53cd5e57a2816519da757756ec94993994221a4;p=mkws-moved-to-github.git iPad/iPhone reports a width of 980 pixels --- 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(); }