Fixed #2070 by adding a test for !nodeType to isArrayLike so DOM elements like SELECT are not considered array-like (even though they really are).
This commit is contained in:
parent
d1b9ad3cdb
commit
24e036c7c8
2 changed files with 3 additions and 5 deletions
|
@ -1068,7 +1068,7 @@ test("not()", function() {
|
|||
isSet( $("#form option").not("option.emptyopt:contains('Nothing'),[selected],[value='1']").get(), q("option1c", "option1d", "option2c", "option3d" ), "not('complex selector')");
|
||||
|
||||
var selects = $("#form select");
|
||||
isSet( selects.not( selects[1] ), ["select1", "select3"], "filter out DOM element");
|
||||
isSet( selects.not( selects[1] ), q("select1", "select3"), "filter out DOM element");
|
||||
});
|
||||
|
||||
test("andSelf()", function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue