refactoring

This commit is contained in:
frankknoll
2023-01-28 16:47:05 +01:00
parent 7c1a82b1ac
commit 7880f5965c

View File

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