Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
srijan55 authored Aug 22, 2024
1 parent a872390 commit a892e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ export const a11yPostProcessDom = (dom: Document) => {
// Add the style to the DOM
var styleElement = document.createElement("style");
styleElement.textContent = style;
dom.
querySelector(".xr-wrap")
dom
.querySelector(".xr-wrap")
?.insertBefore(styleElement, dom.querySelector(".xr-header"));

// Add role=checkbox to the xr-section-summary labels
Expand Down

0 comments on commit a892e39

Please sign in to comment.