From 872d18c10e8ad1583b3a40671527355aa930aea7 Mon Sep 17 00:00:00 2001 From: John Resig Date: Mon, 7 Dec 2009 15:33:14 -0800 Subject: [PATCH] Check Sizzle or jQuery. --- test/unit/selector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/selector.js b/test/unit/selector.js index 3e65cdae7..0a5d0bbff 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -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); -- 2.39.5