Don't be dumb
This commit is contained in:
parent
3e11379c3a
commit
c8a74e96cd
|
@ -1355,7 +1355,7 @@ Scholar.Collection.prototype._getDescendents = function(){
|
||||||
var descendents =
|
var descendents =
|
||||||
Scholar.Collections.get(children[i]['id'])._getDescendents();
|
Scholar.Collections.get(children[i]['id'])._getDescendents();
|
||||||
|
|
||||||
for(var j=0, len=descendents.length; j<len; j++){
|
for(var j=0, len2=descendents.length; j<len2; j++){
|
||||||
toReturn.push(descendents[j]);
|
toReturn.push(descendents[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user