diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-04-11 12:24:31 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-04-11 12:24:31 -0400 |
commit | a564a0b1ec167b2f0fdd2d017a986b226a9850f6 (patch) | |
tree | e00d8901b22380610920d153e84bd7298de1ee87 /src/traversing.js | |
parent | eb857e2b714e6786078cf8641941f267a6e19fa0 (diff) | |
download | jquery-a564a0b1ec167b2f0fdd2d017a986b226a9850f6.tar.gz jquery-a564a0b1ec167b2f0fdd2d017a986b226a9850f6.zip |
Run order problem when running full test suite in Opera 11, removed failing test as it passed by itself and there are others just like it
Diffstat (limited to 'src/traversing.js')
-rw-r--r-- | src/traversing.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/traversing.js b/src/traversing.js index 485de56d4..e0f40151d 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -73,9 +73,9 @@ jQuery.fn.extend({ }, is: function( selector ) { - return !!selector && (typeof selector === "string" ? + return !!selector && ( typeof selector === "string" ? jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0); + this.filter( selector ).length > 0 ); }, closest: function( selectors, context ) { |