From 28e31150b98030ad5e82159ffdaeb9c5b3582613 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 17 Oct 2014 11:33:03 -0400 Subject: [PATCH] Fix small possible NPE --- 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 d1b3b92b5..3ab543f65 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -901,7 +901,7 @@ ImageHistoryTree.prototype.toggle_ = function(d) { ImageHistoryTree.prototype.dispose = function() { var container = this.container_ ; $('#' + container).removeOverscroll(); - document.getElementById(container).innerHTML = ''; + $('#' + container).html(); }; ////////////////////////////////////////////////////////////////////////////////