forked from 0x2620/pandora
fix indiancinema info view
This commit is contained in:
parent
d08833b859
commit
97d9f03c8b
1 changed files with 0 additions and 9 deletions
|
@ -38,8 +38,6 @@ pandora.ui.infoView = function(data) {
|
|||
|
||||
that = Ox.Element(),
|
||||
|
||||
$list,
|
||||
|
||||
$info = $('<div>')
|
||||
.css({
|
||||
position: 'absolute',
|
||||
|
@ -446,11 +444,6 @@ pandora.ui.infoView = function(data) {
|
|||
src: '/' + data.id + '/poster128.jpg?' + Ox.uid()
|
||||
});
|
||||
});
|
||||
$list.find('img[src*="siteposter.jpg"]').each(function() {
|
||||
$(this).attr({
|
||||
src: '/' + data.id + '/siteposter.jpg?' + Ox.uid()
|
||||
});
|
||||
});
|
||||
src = '/' + data.id + '/poster512.jpg?' + Ox.uid()
|
||||
$icon.attr({src: src});
|
||||
$reflectionIcon.attr({src: src});
|
||||
|
@ -880,12 +873,10 @@ pandora.ui.infoView = function(data) {
|
|||
iconRatio = ui.icons == 'posters'
|
||||
? (ui.showSitePosters ? 5/8 : data.posterRatio) : 1;
|
||||
toggleIconSize();
|
||||
pandora.user.level == 'admin' && $list.replaceWith($list = renderList());
|
||||
};
|
||||
|
||||
that.resize = function() {
|
||||
var height = pandora.$ui.contentPanel.size(1);
|
||||
$list && $list.css({height: height + 'px'});
|
||||
$data.css({height: height + 'px'});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue