mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 07:13:09 +02:00
Update timeline.vue
This commit is contained in:
parent
8bfa215208
commit
9a152162e5
1 changed files with 1 additions and 2 deletions
|
@ -98,8 +98,7 @@ export default Vue.extend({
|
|||
});
|
||||
},
|
||||
onNote(note) {
|
||||
if (this.isTop) this.notes.pop();
|
||||
this.notes.unshift(note);
|
||||
this.isTop = window.scrollY < 100;
|
||||
},
|
||||
onChangeFollowing() {
|
||||
this.fetch();
|
||||
|
|
Loading…
Reference in a new issue