Skip to content

Commit

Permalink
Merge branch 'feature/indent-out' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Erez Schatz committed Feb 28, 2013
2 parents 67d520f + fa48980 commit 7543e3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chrome/content/tree.js
Expand Up @@ -438,7 +438,8 @@ var indentOut = function(idx) {
// set idx to old parent + childs
for (i = 0; i < childData.length; i++) {
if (childData[i].id === currentParent.id) {
idx = i + currentParent.childs.length + 1;
length = currentParent.childs ? currentParent.childs.length : 0;
idx = i + length + 1;
}
}

Expand Down

0 comments on commit 7543e3d

Please sign in to comment.