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>
|
</div>
|
||||||
`
|
`
|
||||||
if (!item.title) {
|
if (!item.title) {
|
||||||
div.querySelector('item-title').remove()
|
div.querySelector('.item-title').remove()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var comments = div.querySelector('.comments')
|
||||||
if (window.renderComments) {
|
if (window.renderComments) {
|
||||||
renderComments(div.querySelector('.comments'), data)
|
renderComments(comments, data)
|
||||||
} else {
|
} else {
|
||||||
comments.remove()
|
comments.remove()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue