Skip to content

Commit

Permalink
Fix Previous Releases section not being clickable (#308)
Browse files Browse the repository at this point in the history
This bug caused the sidebar for Previous Releases to not be clickable on
Rustworkx. (For some reason, it doesn't impact qiskit-metapackage)

![Screenshot 2023-05-08 at 12 59 24
PM](https://user-images.githubusercontent.com/14852634/236909294-eede5406-f8ad-40ec-b419-3d7bedbdcfe9.png)

Co-authored-by: Abby Mitchell <[email protected]>
  • Loading branch information
Eric-Arellano and javabster authored May 8, 2023
1 parent 086f163 commit 103a34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_sphinx_theme/pytorch_base/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

// expand and unexpand previous releases dropdown when clicked
var release_rows = document.getElementsByClassName("sidebar-l1-expandable");
for (i = 0; i < expandable_rows.length; i++) {
for (i = 0; i < release_rows.length; i++) {
release_rows[i].addEventListener("click", function() {
this.classList.toggle("open");
var clicked_subheadings = this.nextElementSibling;
Expand Down

0 comments on commit 103a34d

Please sign in to comment.