]> 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:48:35 +0000 (01:48 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Thu, 13 Mar 2014 00:48:35 +0000 (01:48 +0100)
(cherry-picked from 26ce21786252981563e49e91a85b3e0bfa16c3e3)

test/unit/support.js

index 6089d9bd6aeb98c73fdc4f9af315e4852901ce09..eae4c2025d99246b3dfea7e76daf2ca672108f7f 100644 (file)
@@ -521,7 +521,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
                        "submitBubbles": true,
                        "tbody": true
                };
-       } else if ( /iphone os 6_0/i.test( userAgent ) ) {
+       } else if ( /iphone os (?:6|7)_/i.test( userAgent ) ) {
                expected = {
                        "ajax": true,
                        "appendChecked": true,