This commit is contained in:
Tusooa Zhu 2021-08-07 19:03:16 -04:00
parent 0aaef50ee5
commit cd3e6d0073
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -336,9 +336,6 @@ const conversation = {
'setVirtualHeight', 'setVirtualHeight',
{ statusId: this.statusId, height: `${this.$el.clientHeight}px` } { statusId: this.statusId, height: `${this.$el.clientHeight}px` }
) )
},
highlight (value, old) {
console.log('highlight:', old, ' => ', value)
} }
}, },
methods: { methods: {
@ -353,9 +350,6 @@ const conversation = {
} }
this._diven = true this._diven = true
const parentOrSelf = this.parentOrSelf(this.originalStatusId) const parentOrSelf = this.parentOrSelf(this.originalStatusId)
console.log(
'this.threadDisplayStatus ', this.threadDisplayStatus,
'this.statusId', this.statusId)
if (this.threadDisplayStatus[this.statusId] === 'hidden') { if (this.threadDisplayStatus[this.statusId] === 'hidden') {
this.diveIntoStatus(parentOrSelf, /* preventScroll */ true) this.diveIntoStatus(parentOrSelf, /* preventScroll */ true)
this.tryScrollTo(this.statusId) this.tryScrollTo(this.statusId)
@ -386,7 +380,6 @@ const conversation = {
return this.isExpanded ? this.highlight : null return this.isExpanded ? this.highlight : null
}, },
setHighlight (id) { setHighlight (id) {
console.log('setHighlight', id)
if (!id) return if (!id) return
this.highlight = id this.highlight = id
this.$store.dispatch('fetchFavsAndRepeats', id) this.$store.dispatch('fetchFavsAndRepeats', id)