From 286492d5eb3e41fc3be72d4d3e433a129ead4e7a Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 29 Apr 2025 17:51:45 +0900 Subject: [PATCH] Update MkNotifications.vue --- packages/frontend/src/components/MkNotifications.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/frontend/src/components/MkNotifications.vue b/packages/frontend/src/components/MkNotifications.vue index 2354df5550..fb42318530 100644 --- a/packages/frontend/src/components/MkNotifications.vue +++ b/packages/frontend/src/components/MkNotifications.vue @@ -41,7 +41,6 @@ SPDX-License-Identifier: AGPL-3.0-only import { onUnmounted, onMounted, computed, useTemplateRef, TransitionGroup } from 'vue'; import * as Misskey from 'misskey-js'; import { useInterval } from '@@/js/use-interval.js'; -import { isHeadVisible } from '@@/js/scroll.js'; import type { notificationTypes } from '@@/js/const.js'; import XNotification from '@/components/MkNotification.vue'; import MkNote from '@/components/MkNote.vue'; @@ -79,9 +78,8 @@ const POLLING_INTERVAL = 1000 * 15; if (!store.s.realtimeMode) { useInterval(async () => { - const isTop = rootEl.value == null ? false : isHeadVisible(rootEl.value, 16); paginator.fetchNewer({ - toQueue: !isTop, + toQueue: false, }); }, POLLING_INTERVAL, { immediate: false,