Skip to content

Commit

Permalink
Ensure Element#descendants always returns an array. [#373 state:resol…
Browse files Browse the repository at this point in the history
…ved]
  • Loading branch information
savetheclocktower committed Feb 18, 2009
1 parent d318965 commit ab1313e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/dom/dom.js
Expand Up @@ -189,7 +189,7 @@ Element.Methods = {
},

descendants: function(element) {
return $(element).select("*");
return Element.select(element, "*");
},

firstDescendant: function(element) {
Expand Down

0 comments on commit ab1313e

Please sign in to comment.