mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-02 16:58:11 +09:00
Update timeline.vue
This commit is contained in:
parent
8bfa215208
commit
9a152162e5
@ -98,8 +98,7 @@ export default Vue.extend({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
onNote(note) {
|
onNote(note) {
|
||||||
if (this.isTop) this.notes.pop();
|
this.isTop = window.scrollY < 100;
|
||||||
this.notes.unshift(note);
|
|
||||||
},
|
},
|
||||||
onChangeFollowing() {
|
onChangeFollowing() {
|
||||||
this.fetch();
|
this.fetch();
|
||||||
|
Loading…
Reference in New Issue
Block a user