merge back fixes
This commit is contained in:
parent
aebf0891de
commit
d6d8d09f04
1 changed files with 3 additions and 2 deletions
|
@ -44,11 +44,12 @@ function renderItem(data) {
|
|||
</div>
|
||||
`
|
||||
if (!item.title) {
|
||||
div.querySelector('item-title').remove()
|
||||
div.querySelector('.item-title').remove()
|
||||
}
|
||||
|
||||
var comments = div.querySelector('.comments')
|
||||
if (window.renderComments) {
|
||||
renderComments(div.querySelector('.comments'), data)
|
||||
renderComments(comments, data)
|
||||
} else {
|
||||
comments.remove()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue