mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 23:55:58 +09:00
Update timeline.vue
This commit is contained in:
parent
6122c50ca5
commit
8bfa215208
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user