Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Dec 6, 2024
1 parent ee81b99 commit df9b8ed
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions frontend/public/src/containers/pages/CatalogPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,9 @@ export class CatalogPage extends React.Component<Props> {
toggleMobileFilterWindowExpanded = (expanded: boolean) => {
this.setState({ mobileFilterWindowExpanded: expanded })
const inputs = [...document.getElementsByTagName("a")]
inputs.forEach(input => input.setAttribute('tabindex', expanded ? "-1" : "0"))
inputs.forEach(input =>
input.setAttribute("tabindex", expanded ? "-1" : "0")
)
}

/**
Expand Down Expand Up @@ -774,10 +776,7 @@ export class CatalogPage extends React.Component<Props> {
)
)
return (
<nav
id="department-sidebar"
aria-label="department filters"
>
<nav id="department-sidebar" aria-label="department filters">
<ul id="department-sidebar-link-list">{departmentSideBarListItems}</ul>
</nav>
)
Expand Down

0 comments on commit df9b8ed

Please sign in to comment.