Fixed problems with removing live events. Fixes #4894.
[jquery.git] / test / unit / selector.js
index 3e65cda..0a5d0bb 100644 (file)
@@ -379,7 +379,7 @@ test("pseudo - position", function() {
        t( "Check element position", "div#nothiddendiv:first > div:first", ["nothiddendivchild"] );
 });
 
-if ( Sizzle.selectors.filters.visibility ) {
+if ( (window.Sizzle || jQuery.find).selectors.filters.visibility ) {
 test("pseudo - visibility", function() {
        expect(11);