1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixed user image scaling

This commit is contained in:
Luke Pulverenti 2014-05-02 10:49:28 -04:00
parent d5780727eb
commit 5218e67d4e
12 changed files with 59 additions and 24 deletions

View file

@ -68,19 +68,11 @@
function getItemHref(item) {
if (item.Type == 'ManualCollectionsFolder') {
if (item.Type == 'ManualCollectionsFolder' || item.CollectionType == 'boxsets') {
return 'collections.html?topParentId=' + item.Id;
}
if (item.CollectionType == 'boxsets') {
return 'moviecollections.html?topParentId=' + item.Id;
}
if (item.CollectionType == 'trailers') {
return 'movietrailers.html?topParentId=' + item.Id;
}
if (item.Type == 'TrailerCollectionFolder') {
if (item.CollectionType == 'trailers' || item.Type == 'TrailerCollectionFolder') {
return 'movietrailers.html?topParentId=' + item.Id;
}