Fix chemistry page broken by removed medicine wrapper changes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2020-12-08 13:23:05 +01:00
parent ba91e5a4d4
commit 20971ee185
Signed by: hamcha
GPG Key ID: 41467804B19A3315
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ export function processChemistry(root: HTMLElement): void {
// Remove "Removed medicines" section // Remove "Removed medicines" section
const remTable = root.querySelector( const remTable = root.querySelector(
"#Non-craftable_Medicines + h4 + p + table" "#Non-craftable_Medicines + h4 + p + div"
); );
remTable.parentElement.removeChild(remTable); remTable.parentElement.removeChild(remTable);

View File

@ -176,7 +176,7 @@ const sections: SectionInfo[] = [
{ page: "Guide_to_Combat", icon: combat }, { page: "Guide_to_Combat", icon: combat },
{ page: "Syndicate_Items", text: "uplk", icon: uplink }, { page: "Syndicate_Items", text: "uplk", icon: uplink },
{ page: "Illicit_Access", icon: access }, { page: "Illicit_Access", icon: access },
{ page: "Revolutionary", icon: rev }, { page: "Revolutionary", text: "rev", icon: rev },
{ page: "Blood_Cult", text: "cult", icon: cult }, { page: "Blood_Cult", text: "cult", icon: cult },
{ page: "Nuclear_Operative", text: "nuke", icon: nuke }, { page: "Nuclear_Operative", text: "nuke", icon: nuke },
{ page: "Guide_to_malfunction", icon: malf }, { page: "Guide_to_malfunction", icon: malf },