From 44eef148e77dfc9bfce6b8953fc03c07e41fb12e Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 11 Oct 2013 01:10:23 -0400 Subject: [PATCH] Skip the first encountered node (since it is the root of the collapsed tree) --- 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 000abfbdb..f9fdcd644 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -98,7 +98,7 @@ ImageHistoryTree.prototype.draw = function(container) { .html(function(d) { var html = ''; if (d.collapsed) { - for (var i = 0; i < d.encountered.length; ++i) { + for (var i = 1; i < d.encountered.length; ++i) { html += '' + d.encountered[i].image.id.substr(0, 12) + ''; html += '' + formatTime(d.encountered[i].image.created) + ''; }