summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/deck/deck.notes.vue2
-rw-r--r--src/client/app/desktop/views/components/notes.vue2
-rw-r--r--src/client/app/mobile/views/components/notes.vue2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/client/app/common/views/deck/deck.notes.vue b/src/client/app/common/views/deck/deck.notes.vue
index f94eb8fd38..8787a82a1c 100644
--- a/src/client/app/common/views/deck/deck.notes.vue
+++ b/src/client/app/common/views/deck/deck.notes.vue
@@ -157,6 +157,7 @@ export default Vue.extend({
// オーバーフローしたら古い投稿は捨てる
if (this.notes.length >= displayLimit) {
this.notes = this.notes.slice(0, displayLimit);
+ this.cursor = this.notes[this.notes.length - 1].id
}
} else {
this.queue.push(note);
@@ -165,6 +166,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
+ this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {
diff --git a/src/client/app/desktop/views/components/notes.vue b/src/client/app/desktop/views/components/notes.vue
index 4334e78451..e4df8a4b55 100644
--- a/src/client/app/desktop/views/components/notes.vue
+++ b/src/client/app/desktop/views/components/notes.vue
@@ -157,6 +157,7 @@ export default Vue.extend({
// オーバーフローしたら古い投稿は捨てる
if (this.notes.length >= displayLimit) {
this.notes = this.notes.slice(0, displayLimit);
+ this.cursor = this.notes[this.notes.length - 1].id
}
} else {
this.queue.push(note);
@@ -165,6 +166,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
+ this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {
diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue
index 7aeebde643..16a1682c2a 100644
--- a/src/client/app/mobile/views/components/notes.vue
+++ b/src/client/app/mobile/views/components/notes.vue
@@ -151,6 +151,7 @@ export default Vue.extend({
// オーバーフローしたら古い投稿は捨てる
if (this.notes.length >= displayLimit) {
this.notes = this.notes.slice(0, displayLimit);
+ this.cursor = this.notes[this.notes.length - 1].id
}
} else {
this.queue.push(note);
@@ -159,6 +160,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
+ this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {