Fix small possible NPE

This commit is contained in:
Joseph Schorr 2014-10-17 11:33:03 -04:00
parent a423032e80
commit 28e31150b9

View file

@ -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();
};
////////////////////////////////////////////////////////////////////////////////