]> source.dussan.org Git - jquery.git/commitdiff
Support: Make the support matrix for iOS 6 match iOS 7 as well
authorMichał Gołębiowski <m.goleb@gmail.com>
Thu, 13 Mar 2014 00:46:18 +0000 (01:46 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Thu, 13 Mar 2014 00:46:18 +0000 (01:46 +0100)
test/unit/support.js

index feea7dd3507f14f684daa213d5805a7afd0ba983..867ba1d7498ec6010eafa0ca786d9f558f426bf8 100644 (file)
@@ -195,7 +195,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "radioValue": true,
                        "reliableMarginRight": true
                };
-       } else if ( /iphone os 6_0/i.test( userAgent ) ) {
+       } else if ( /iphone os (?:6|7)_/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "boxSizingReliable": true,