diff --git a/static/js/graphing.js b/static/js/graphing.js index f74175015..f166de025 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -197,6 +197,10 @@ ImageHistoryTree.prototype.draw = function(container) { .attr("class", "image-tree"); var vis = rootSvg.append("svg:g"); + if (!vis) { + this.container_ = null; + return; + } var formatComment = this.formatComment_; var formatTime = this.formatTime_;