Skip to content

Commit

Permalink
NA - Fix engine specs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiscoelho committed Mar 19, 2024
1 parent 17e6e7a commit 21eeced
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,11 @@ async function prepareSpecification() {
const specContainer = addEngineSpecifications(
JSON.parse(engineSpecification.specifications),
);
const engineDescription = document.querySelector('#engine ~ p + p');
const engineDescription = document.querySelector('.default-content-wrapper > div > :nth-child(2 of .sub-group)');

engineDescription.after(specContainer);
if (engineDescription) {
engineDescription.append(specContainer);
}
}
}
}
Expand Down

0 comments on commit 21eeced

Please sign in to comment.