in info view, also update image list when it's hidden

This commit is contained in:
rolux 2011-08-07 22:21:38 +00:00
parent cbb55fca29
commit 51310ab89c

View file

@ -455,7 +455,6 @@ pandora.ui.infoView = function(data) {
.appendTo($info);
});
return ;
}
function toggleIconSize() {
@ -498,7 +497,7 @@ pandora.ui.infoView = function(data) {
iconRatio = pandora.user.ui.icons == 'posters'
? data.poster.width / data.poster.height : 1,
toggleIconSize();
edit && $list.replaceWith($list = renderList());
pandora.user.level == 'admin' && $list.replaceWith($list = renderList());
};
that.resize = function() {