From a1fdaa8aa581783f73ead62f3068280c182e7a1d Mon Sep 17 00:00:00 2001 From: vogdb Date: Tue, 16 Dec 2014 21:54:46 +0300 Subject: [PATCH 1/3] Remove iOS8 and later from fix #57. --- lib/fastclick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastclick.js b/lib/fastclick.js index 74a5554b..c5e096bc 100644 --- a/lib/fastclick.js +++ b/lib/fastclick.js @@ -209,7 +209,7 @@ * * @type boolean */ - var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS ([6-9]|\d{2})_\d/).test(navigator.userAgent); + var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS ([6-7]|\d{2})_\d/).test(navigator.userAgent); /** * BlackBerry requires exceptions. From 5b2dce9ee4de0b09c6465ff9263e210072f9fd8c Mon Sep 17 00:00:00 2001 From: vogdb Date: Tue, 16 Dec 2014 22:55:36 +0300 Subject: [PATCH 2/3] Remove iOS8 and later from fix #57. Adjust the comment too. --- lib/fastclick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastclick.js b/lib/fastclick.js index c5e096bc..c9899df8 100644 --- a/lib/fastclick.js +++ b/lib/fastclick.js @@ -205,7 +205,7 @@ /** - * iOS 6.0(+?) requires the target element to be manually derived + * iOS 6.0-7.* requires the target element to be manually derived * * @type boolean */ From 29cfb64681741cdd2062bef18770644cb1c8f28c Mon Sep 17 00:00:00 2001 From: vogdb Date: Tue, 6 Jan 2015 14:23:34 +0300 Subject: [PATCH 3/3] Remove iOS8 and later from fix #57. Improve regex. --- lib/fastclick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastclick.js b/lib/fastclick.js index c9899df8..9365d1d5 100644 --- a/lib/fastclick.js +++ b/lib/fastclick.js @@ -209,7 +209,7 @@ * * @type boolean */ - var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS ([6-7]|\d{2})_\d/).test(navigator.userAgent); + var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent); /** * BlackBerry requires exceptions.