diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-12-21 21:08:21 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-12-21 21:08:21 +0000 |
| commit | cb175d3f65ea79acc54949a3e33e926ce1357733 (patch) | |
| tree | af22210d0c55020dd37b90d96c09e2fc11d9cdfb /src/components/notifications/notifications.js | |
| parent | 830b0008a293b7542ae140568c4c2e5587c4b71d (diff) | |
| parent | 48be4e9cb6a730cdcecbd1d2db294406315f1d87 (diff) | |
Merge branch 'fix-interactions-null-deref' into 'develop'
Fix interactions tab null dereference
See merge request pleroma/pleroma-fe!1707
Diffstat (limited to 'src/components/notifications/notifications.js')
| -rw-r--r-- | src/components/notifications/notifications.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index dde9c93e..d499d3d6 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -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 () { |
