Fix notifications/interactions null dereference

remove-mods-files
Alexander Tumin 2 years ago
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…
Cancel
Save