diff --git a/package.json b/package.json index a5e20b0b3f..9e05c41fc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "12.118.1-calc.11.1", + "version": "12.118.1-calc.11.2", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 27ba7fece7..1795b9a059 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -278,15 +278,14 @@ if (isMobile.value) { if (Math.abs(xDiff) > Math.abs(yDiff)) { if (xDiff > 0) { - next = - timelines[ - (timelines.indexOf(src) - 1) % timelines.length - ]; + if (src === 'home') { + next = 'global' + } + else { + next = timelines[(timelines.indexOf(src) - 1) % timelines.length]; + } } else { - next = - timelines[ - (timelines.indexOf(src) + 1) % timelines.length - ]; + next = timelines[(timelines.indexOf(src) + 1) % timelines.length]; } fader.classList.remove('fade'); fader.classList.add('fade');