fix crash in mobile nav

This commit is contained in:
Henry Jameson 2026-06-30 03:22:20 +03:00
commit 142e8cbf2f
2 changed files with 1 additions and 3 deletions

View file

@ -152,9 +152,6 @@ const MobileNav = {
},
onScroll({ target: { scrollTop, clientHeight, scrollHeight } }) {
this.notificationsAtTop = scrollTop > 0
if (scrollTop + clientHeight >= scrollHeight) {
this.$refs.notifications.fetchOlderNotifications()
}
},
},
watch: {

View file

@ -94,6 +94,7 @@
/>
</button>
</div>
<!-- Notifications teleport target -->
<div
id="mobile-notifications"
ref="mobileNotifications"