removing
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
document.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
event => {
|
||||
// FK-TODO: inline variable
|
||||
const name = 'Drug';
|
||||
PageInitializer.initializePage(
|
||||
{
|
||||
@@ -62,8 +63,7 @@
|
||||
vaccineSelectElement: $('#vaccineSelect'),
|
||||
urlSearchParam: new URLSearchParam('vaccine'),
|
||||
prrBySymptomTableElement: $('#prrBySymptomTable'),
|
||||
downloadPrrBySymptomTableButton: document.querySelector("#downloadPrrBySymptomTable"),
|
||||
valueName: name
|
||||
// FK-TODO: remove downloadPrrBySymptomTable html element
|
||||
},
|
||||
pdf: {
|
||||
pdfButton: document.querySelector("#PDF"),
|
||||
|
||||
@@ -32,8 +32,7 @@ class PageInitializer {
|
||||
return prrByVaccineTableView;
|
||||
}
|
||||
|
||||
// FK-TODO: remove downloadPrrBySymptomTableButton, valueName
|
||||
static #configureVaccine({ vaccineSelectElement, urlSearchParam, prrBySymptomTableElement, downloadPrrBySymptomTableButton, valueName }) {
|
||||
static #configureVaccine({ vaccineSelectElement, urlSearchParam, prrBySymptomTableElement }) {
|
||||
const prrBySymptomTableView = new PrrBySymptomTableView(prrBySymptomTableElement);
|
||||
Select2.initializeSelectElement(
|
||||
{
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
document.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
event => {
|
||||
// FK-TODO: inline name
|
||||
const name = 'Vaccine';
|
||||
PageInitializer.initializePage(
|
||||
{
|
||||
@@ -62,8 +63,7 @@
|
||||
vaccineSelectElement: $('#vaccineSelect'),
|
||||
urlSearchParam: new URLSearchParam('vaccine'),
|
||||
prrBySymptomTableElement: $('#prrBySymptomTable'),
|
||||
downloadPrrBySymptomTableButton: document.querySelector("#downloadPrrBySymptomTable"),
|
||||
valueName: name
|
||||
// FK-TODO: remove downloadPrrBySymptomTable html element
|
||||
},
|
||||
pdf: {
|
||||
pdfButton: document.querySelector("#PDF"),
|
||||
|
||||
Reference in New Issue
Block a user