From d6216dcc5f69431a116d728b5f09eed7d078923a Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 17 Oct 2013 15:39:24 -0400 Subject: [PATCH] Fix the collapsed node title to show the correct number of images --- static/js/graphing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/graphing.js b/static/js/graphing.js index b068ed792..4794acbd0 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -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