From c106b7cb07bd992ee83c3e27c74c506d8e856e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 23 Sep 2010 10:07:28 -0400 Subject: [PATCH] Use touchmove event for jQuery.support.touch detection. Fixes #57. --- js/jQuery.mobile.support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jQuery.mobile.support.js b/js/jQuery.mobile.support.js index f11c69b9..acc77dc3 100644 --- a/js/jQuery.mobile.support.js +++ b/js/jQuery.mobile.support.js @@ -6,7 +6,7 @@ Possible additions: $.extend( $.support, { orientation: "orientation" in window, - touch: typeof Touch === "object", + touch: "ontouchmove" in document, WebKitAnimationEvent: typeof WebKitTransitionEvent === "object", pushState: !!history.pushState });