diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2018-04-15 23:49:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-15 23:49:14 +0900 |
| commit | 8bfa215208f593e30964604fed6d80d852cae3b5 (patch) | |
| tree | 5cbbc223ca9aff8828191bfda3ebd7169f40c555 /src | |
| parent | Merge branch 'master' into pop (diff) | |
| download | misskey-8bfa215208f593e30964604fed6d80d852cae3b5.tar.gz misskey-8bfa215208f593e30964604fed6d80d852cae3b5.tar.bz2 misskey-8bfa215208f593e30964604fed6d80d852cae3b5.zip | |
Update timeline.vue
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/desktop/views/components/timeline.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/components/timeline.vue b/src/client/app/desktop/views/components/timeline.vue index 829e73106b..dfe3e54373 100644 --- a/src/client/app/desktop/views/components/timeline.vue +++ b/src/client/app/desktop/views/components/timeline.vue @@ -113,8 +113,7 @@ export default Vue.extend({ const current = window.scrollY + window.innerHeight; if (current > document.body.offsetHeight - 8) this.more(); } - if (window.scrollY > 100) this.isTop = false; - else this.isTop = true; + this.isTop = window.scrollY < 100; }, onKeydown(e) { if (e.target.tagName != 'INPUT' && e.target.tagName != 'TEXTAREA') { |