Compare commits

..

No commits in common. "b0c54c69c33637b4b7ed2224fa7121703a21bfc6" and "38c46ec73b0faf5d316db1aa970da9f33c6c5a6a" have entirely different histories.

View File

@ -254,19 +254,14 @@ export default {
return this.item.refs[this.item['like-of']]
} else if (this.isRepost) {
return this.item.refs[this.item['repost-of']]
} else if (this.isBookmark) {
return this.item.refs[this.item['bookmark-of']]
}
},
isRef() {
return this.isLike || this.isRepost || this.isBookmark
return this.isLike || this.isRepost
},
isLike() {
return this.hasRef('like-of')
},
isBookmark() {
return this.hasRef('bookmark-of')
},
isRepost() {
return this.hasRef('repost-of')
},
@ -277,9 +272,6 @@ export default {
if (this.isRepost) {
return 'reposted'
}
if (this.isBookmark) {
return 'bookmarked'
}
return ''
},
main_content() {
@ -378,7 +370,6 @@ export default {
return
}
this.hasHiddenContent = el.scrollHeight > el.clientHeight
this.hiddenContentVisible = false
})
}
}
@ -387,7 +378,7 @@ export default {
<style scoped>
.entry.unread {
outline: 2px solid #5757e8;
border-color: #555;
}
.media .entry {