only resize info view if resize method is present (only needed for 0xDB poster picker list)

This commit is contained in:
rolux 2013-07-11 11:34:27 +02:00
parent a660dc327c
commit e2d74849f0

View file

@ -68,7 +68,7 @@ pandora.ui.item = function() {
pandora.$ui.item = pandora.ui.infoView(result.data)
.bindEvent({
resize: function() {
pandora.$ui.item.resize();
pandora.$ui.item.resize && pandora.$ui.item.resize();
}
})
);