Skip to content

Commit

Permalink
fix: click on docs sidenav links in Edge
Browse files Browse the repository at this point in the history
Make the sidenav component links work in pre-chromium Edge
  • Loading branch information
cuberoot committed Apr 16, 2020
1 parent 87aa8d8 commit fc999bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/src/components/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class Page extends LayoutElement {
public resetScroll() {
if (!this.contentElement) return;

this.contentElement.scroll(0, 0);
this.contentElement.scrollTop = 0;
this.open = false;
}
}
Expand Down

0 comments on commit fc999bf

Please sign in to comment.