Skip to content

Commit

Permalink
Loads selected page on location hash
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-then committed Feb 16, 2024
1 parent 7983b42 commit 4724b82
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@
bridgeABIsContainer.classList.add('show');
});

const loadPageOnLocationHash = () => {
if (location.hash === '#bridgeABIsContainer') {
bridgeABIsContainerLink.click();
}
};

loadPageOnLocationHash();

</script>

</body>
Expand Down

0 comments on commit 4724b82

Please sign in to comment.