refactoring
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user