mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2025-01-23 20:00:25 +01:00
Fix notifications/interactions null dereference
This commit is contained in:
parent
830b0008a2
commit
48be4e9cb6
@ -101,6 +101,9 @@ const Notifications = {
|
||||
if (!this.scrollerRef) {
|
||||
this.scrollerRef = this.$refs.root.closest('.mobile-notifications')
|
||||
}
|
||||
if (!this.scrollerRef) {
|
||||
this.scrollerRef = this.$refs.root.closest('.column.main')
|
||||
}
|
||||
this.scrollerRef.addEventListener('scroll', this.updateScrollPosition)
|
||||
},
|
||||
unmounted () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user