diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-15 15:35:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-15 15:35:52 +0900 |
| commit | 937f7cbd60e2d75bf7a534a8586ad8806f78c728 (patch) | |
| tree | 7eb29235caebeca072ad1845f06b18d90803ebc0 /src/client/app/desktop/script.ts | |
| parent | Refactor (diff) | |
| download | misskey-937f7cbd60e2d75bf7a534a8586ad8806f78c728.tar.gz misskey-937f7cbd60e2d75bf7a534a8586ad8806f78c728.tar.bz2 misskey-937f7cbd60e2d75bf7a534a8586ad8806f78c728.zip | |
:art:
Diffstat (limited to 'src/client/app/desktop/script.ts')
| -rw-r--r-- | src/client/app/desktop/script.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts index 138cf6e632..fe13151159 100644 --- a/src/client/app/desktop/script.ts +++ b/src/client/app/desktop/script.ts @@ -158,7 +158,10 @@ init(async (launch, os) => { { path: '/authorize-follow', component: MkFollow }, { path: '/deck', redirect: '/' }, { path: '*', component: MkNotFound } - ] + ], + scrollBehavior(to, from, savedPosition) { + return { x: 0, y: 0 }; + } }); // Launch the app |