From 4cc193f3124bb090d44f414d2905dc476343a09d Mon Sep 17 00:00:00 2001 From: Frank Knoll Date: Wed, 17 Jul 2024 10:45:40 +0200 Subject: [PATCH] removing --- docs/SymptomsCausedByDrugs/index.html | 4 ++-- docs/SymptomsCausedByDrugs/js/PageInitializer.js | 3 +-- docs/SymptomsCausedByVaccines/index.html | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) 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"),