render empty item

This commit is contained in:
j 2017-02-18 12:18:25 +01:00
parent dceee58638
commit 64e8c1f4b2

View file

@ -307,14 +307,13 @@ pandora.ui.homeDialog = function() {
}
function renderItem(data) {
$item.empty().append(
pandora.renderHomeItem({
$item.empty();
data && pandora.renderHomeItem({
data: data,
editItem: editItem
}).css({
margin: '16px'
})
);
}).appendTo($item);
}
function renderList(items, selected) {