Fix the collapsed node title to show the correct number of images
This commit is contained in:
parent
ce458f93ef
commit
d6216dcc5f
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ ImageHistoryTree.prototype.collapseNodes_ = function(node) {
|
|||
if (encountered.length >= 3) {
|
||||
// Collapse the node.
|
||||
var collapsed = {
|
||||
"name": '(' + encountered.length + ' images)',
|
||||
"name": '(' + (encountered.length - 1) + ' images)',
|
||||
"children": [current],
|
||||
"collapsed": true,
|
||||
"encountered": encountered
|
||||
|
|
Reference in a new issue