Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Commit 17135ad

Browse files
committed
Merge pull request #344 from vogdb/exclude-iOS8-from-scroll-transition-fix
Remove iOS8 and later from fix #57.
2 parents a22efe3 + 29cfb64 commit 17135ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fastclick.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@
205205

206206

207207
/**
208-
* iOS 6.0(+?) requires the target element to be manually derived
208+
* iOS 6.0-7.* requires the target element to be manually derived
209209
*
210210
* @type boolean
211211
*/
212-
var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS ([6-9]|\d{2})_\d/).test(navigator.userAgent);
212+
var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent);
213213

214214
/**
215215
* BlackBerry requires exceptions.

0 commit comments

Comments
 (0)