diff --git a/docs/SymptomsCausedByDrugs/index.html b/docs/SymptomsCausedByDrugs/index.html
index c273aae2a2b..4c0d80f9124 100644
--- a/docs/SymptomsCausedByDrugs/index.html
+++ b/docs/SymptomsCausedByDrugs/index.html
@@ -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"),
diff --git a/docs/SymptomsCausedByDrugs/js/PageInitializer.js b/docs/SymptomsCausedByDrugs/js/PageInitializer.js
index d7c110b5287..a384f266283 100644
--- a/docs/SymptomsCausedByDrugs/js/PageInitializer.js
+++ b/docs/SymptomsCausedByDrugs/js/PageInitializer.js
@@ -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(
{
diff --git a/docs/SymptomsCausedByVaccines/index.html b/docs/SymptomsCausedByVaccines/index.html
index 12529816c39..92fa821e32c 100644
--- a/docs/SymptomsCausedByVaccines/index.html
+++ b/docs/SymptomsCausedByVaccines/index.html
@@ -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"),