merge back fixes

This commit is contained in:
j 2023-08-23 21:02:29 +02:00
parent aebf0891de
commit d6d8d09f04

View file

@ -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()
}