]> source.dussan.org Git - jquery.git/commitdiff
Do not perform support check for old Opera. Close gh-1097.
authorOleg <markelog@gmail.com>
Fri, 21 Dec 2012 04:12:32 +0000 (08:12 +0400)
committerDave Methvin <dave.methvin@gmail.com>
Fri, 21 Dec 2012 04:38:19 +0000 (23:38 -0500)
test/unit/support.js

index 94a871ee968588ae46da95ddfb4bccbf4cc33608..76a0af7b745ab3126c4db43cda3a9bbb650d4e49 100644 (file)
@@ -83,7 +83,7 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
                        "cors":true,
                        "doesNotIncludeMarginInBodyOffset":true
                };
-       } else if ( /opera/i.test( userAgent ) ) {
+       } else if ( /opera.*version\/12\.1/i.test( userAgent ) ) {
                expected = {
                        "leadingWhitespace":true,
                        "tbody":true,