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

Commit

Permalink
Remove iOS8 and later from fix #57.
Browse files Browse the repository at this point in the history
Improve regex.
  • Loading branch information
vogdb committed Jan 6, 2015
1 parent 5b2dce9 commit 29cfb64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fastclick.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 29cfb64

Please sign in to comment.