Merge branch 'fix-interactions-null-deref' into 'develop'
Fix interactions tab null dereference See merge request pleroma/pleroma-fe!1707
This commit is contained in:
commit
cb175d3f65
@ -101,6 +101,9 @@ const Notifications = {
|
|||||||
if (!this.scrollerRef) {
|
if (!this.scrollerRef) {
|
||||||
this.scrollerRef = this.$refs.root.closest('.mobile-notifications')
|
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)
|
this.scrollerRef.addEventListener('scroll', this.updateScrollPosition)
|
||||||
},
|
},
|
||||||
unmounted () {
|
unmounted () {
|
||||||
|
Loading…
Reference in New Issue
Block a user