forked from 0x2620/pandora
in info view, also update image list when it's hidden
This commit is contained in:
parent
cbb55fca29
commit
51310ab89c
1 changed files with 1 additions and 2 deletions
|
@ -455,7 +455,6 @@ pandora.ui.infoView = function(data) {
|
||||||
.appendTo($info);
|
.appendTo($info);
|
||||||
});
|
});
|
||||||
|
|
||||||
return ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleIconSize() {
|
function toggleIconSize() {
|
||||||
|
@ -498,7 +497,7 @@ pandora.ui.infoView = function(data) {
|
||||||
iconRatio = pandora.user.ui.icons == 'posters'
|
iconRatio = pandora.user.ui.icons == 'posters'
|
||||||
? data.poster.width / data.poster.height : 1,
|
? data.poster.width / data.poster.height : 1,
|
||||||
toggleIconSize();
|
toggleIconSize();
|
||||||
edit && $list.replaceWith($list = renderList());
|
pandora.user.level == 'admin' && $list.replaceWith($list = renderList());
|
||||||
};
|
};
|
||||||
|
|
||||||
that.resize = function() {
|
that.resize = function() {
|
||||||
|
|
Loading…
Reference in a new issue