diff --git a/docs/SymptomsCausedByDrugs/index.html b/docs/SymptomsCausedByDrugs/index.html
index 4c851d5e7f5..0fd595be8a5 100644
--- a/docs/SymptomsCausedByDrugs/index.html
+++ b/docs/SymptomsCausedByDrugs/index.html
@@ -64,7 +64,7 @@
pdf: {
pdfButton: document.querySelector("#PDF"),
heading: document.querySelector("#heading").textContent,
- valueName: document.querySelector("#subheading").textContent
+ subheading: document.querySelector("#subheading").textContent
}
}
);
diff --git a/docs/SymptomsCausedByDrugs/js/PageInitializer.js b/docs/SymptomsCausedByDrugs/js/PageInitializer.js
index 4c6f8b17a54..cdc458c2e5e 100644
--- a/docs/SymptomsCausedByDrugs/js/PageInitializer.js
+++ b/docs/SymptomsCausedByDrugs/js/PageInitializer.js
@@ -47,11 +47,11 @@ class PageInitializer {
return prrBySymptomTableView;
}
- static #configurePDFButton({ pdf: { pdfButton, heading, valueName }, symptom, vaccine }) {
+ static #configurePDFButton({ pdf: { pdfButton, heading, subheading }, symptom, vaccine }) {
pdfButton.addEventListener(
'click',
() => PdfCreator
- .createPdf({ symptom, vaccine, heading, valueName })
+ .createPdf({ symptom, vaccine, heading, subheading })
.download(heading));
}
}
diff --git a/docs/SymptomsCausedByDrugs/js/PdfCreator.js b/docs/SymptomsCausedByDrugs/js/PdfCreator.js
index 769303b024b..e9eedae141a 100644
--- a/docs/SymptomsCausedByDrugs/js/PdfCreator.js
+++ b/docs/SymptomsCausedByDrugs/js/PdfCreator.js
@@ -4,12 +4,12 @@ class PdfCreator {
return pdfMake.createPdf(PdfCreator.#createDocumentDefinition(pdf));
}
- static #createDocumentDefinition({ symptom, vaccine, heading, valueName }) {
+ static #createDocumentDefinition({ symptom, vaccine, heading, subheading }) {
return {
content: [
PdfCreator.#getPageHeading(heading),
{ text: 'By Craig Paardekooper', alignment: 'center', margin: [0, 0, 0, 20] },
- ...PdfCreator.#getAssociatedDrugsSection(symptom, valueName),
+ ...PdfCreator.#getAssociatedDrugsSection(symptom, subheading),
...PdfCreator.#getStrongestSymptomsSection(vaccine),
PdfCreator.#link2Origin(heading)
]
@@ -26,9 +26,9 @@ class PdfCreator {
};
}
- static #getAssociatedDrugsSection({ selectElement, table }, valueName) {
+ static #getAssociatedDrugsSection({ selectElement, table }, subheading) {
return [
- PdfCreator.#getHeading(`${valueName} for "${PdfCreator.#getSelection(selectElement)}"`),
+ PdfCreator.#getHeading(`${subheading} for "${PdfCreator.#getSelection(selectElement)}"`),
PdfCreator.#getTable(table, true)
];
}
diff --git a/docs/SymptomsCausedByVaccines/index.html b/docs/SymptomsCausedByVaccines/index.html
index 46cc97a260a..5321e060b95 100644
--- a/docs/SymptomsCausedByVaccines/index.html
+++ b/docs/SymptomsCausedByVaccines/index.html
@@ -64,7 +64,7 @@
pdf: {
pdfButton: document.querySelector("#PDF"),
heading: document.querySelector("#heading").textContent,
- valueName: document.querySelector("#subheading").textContent
+ subheading: document.querySelector("#subheading").textContent
}
}
);