the browser-facing portion of osu!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #11825 from nanaya/docs-nav-button

Fix docs nav button resetting scroll position

authored by

bakaneko and committed by
GitHub
3b506e59 d470f0c7

+2 -1
+2 -1
resources/js/docs/sidebar-toggle.ts
··· 19 19 this.navButton.addEventListener('click', this.onClickNavButton); 20 20 } 21 21 22 - private readonly onClickNavButton = () => { 22 + private readonly onClickNavButton = (e: MouseEvent) => { 23 + e.preventDefault(); 23 24 this.menuWrapper.classList.toggle('open'); 24 25 this.navButton.classList.toggle('open'); 25 26 };