Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 27da818

Browse files
author
Matt Moran
committed
fix(home): fix broken scroll on home page
fix broken scroll that occurred on stickyScrollbar when navigating back to the home page from another page fix #339
1 parent 28a9240 commit 27da818

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

package-lock.json

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pages/app-home/app-home.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ export class AppHome {
5959
}
6060
});
6161

62+
/* tslint:disable-next-line */
63+
const self = this;
6264
/* tslint:disable-next-line */
6365
$(document).ready(function() {
64-
/* tslint:disable-next-line */
65-
const self = this;
6666
/* tslint:disable-next-line */
6767
window.setTimeout(function() {
6868
console.log('init sticky');

0 commit comments

Comments
 (0)