Ensure Element#descendants always returns an array. [#373 state:resolved]
This commit is contained in:
parent
d3189652a6
commit
ab1313ea20
@ -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)
|
||||
|
@ -189,7 +189,7 @@ Element.Methods = {
|
||||
},
|
||||
|
||||
descendants: function(element) {
|
||||
return $(element).select("*");
|
||||
return Element.select(element, "*");
|
||||
},
|
||||
|
||||
firstDescendant: function(element) {
|
||||
|
Loading…
Reference in New Issue
Block a user