Ensure Element#descendants always returns an array. [#373 state:resolved]

This commit is contained in:
Andrew Dupont 2009-02-18 10:34:01 -06:00
parent d3189652a6
commit ab1313ea20
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
* Ensure Element#descendants always returns an array. [#373 state:resolved] (kangax)
* Don't switch fixed position elements to absolute in Element.getDimensions [#543 state:resolved] (James Wheare)
* Avoid infinite loops when calling String#sub with empty pattern [#534 state:resolved] (Samuel Lebeau)

View File

@ -189,7 +189,7 @@ Element.Methods = {
},
descendants: function(element) {
return $(element).select("*");
return Element.select(element, "*");
},
firstDescendant: function(element) {