Permalink
Browse files

change to test on ipad

  • Loading branch information...
1 parent 0d20f7a commit 21fba92eaec483849dd92023a7a09610f88e51b7 Ryuan Choi committed Apr 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/touch-test.html
View
@@ -9,7 +9,7 @@
var is_iphone = (agent.indexOf('iphone')!=-1);
if (is_iphone) {
- viewportTag.content="width=480,initial-scale=0.67,maximum-scale=0.67,user-scalable=no";
+ viewportTag.content="width=480,initial-scale=0.67,maximum-scale=0.67,user-scalable=yes";
} else {
var scaleFactor=window.innerWidth/480;
viewportTag.content="width=480,initial-scale="+scaleFactor+",maximum-scale="+scaleFactor+",user-scalable=no,target-densityDpi=device-dpi";
@@ -145,7 +145,7 @@ <h3 id="timer">00:00:00</h3>
timerStarted = false;
}
$("#title").text("[some events(click me)] 5 times")
- .live("click", function() {
+ .live(events, function() {
$(".touchpad").die(eventArr[eventIDX]);
balls.css("visibility", "hidden");
eventIDX = (eventIDX+1) % 7;

0 comments on commit 21fba92

Please sign in to comment.