diff --git a/docs/batchCodeTable.js b/docs/batchCodeTable.js index 6f460e2c4c7..d9c43825746 100644 --- a/docs/batchCodeTable.js +++ b/docs/batchCodeTable.js @@ -120,7 +120,6 @@ class BatchCodeTableInitializer { } #initializeHistogramView() { - const histogramView = new HistogramView(); const thisClassInstance = this; $(`#${this.#batchCodeTableElement[0].id} tbody`).on( 'click', @@ -135,7 +134,7 @@ class BatchCodeTableInitializer { const uiContainer = document.createElement("div"); row.child(uiContainer).show(); tr.addClass('shown'); - histogramView.show('FD6840', uiContainer); + new HistogramView().show('FD6840', uiContainer); } }); }