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

fix live tv image

This commit is contained in:
Luke Pulverenti 2015-08-02 22:12:52 -04:00
parent 92861ec8de
commit c65b8a2cf4
3 changed files with 9 additions and 4 deletions

View file

@ -1443,7 +1443,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
width: 70px; width: 70px;
height: 70px; height: 70px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: contain;
background-position: center center; background-position: center center;
} }

View file

@ -1568,10 +1568,15 @@
} }
function onItemDeleted(e, itemId) { function onItemDeleted(e, itemId) {
if (currentItem && currentItem.Id == itemId) { if (currentItem && currentItem.Id == itemId) {
if (currentItem.Type == 'Recording') {
Dashboard.navigate('livetv.html');
} else {
Dashboard.navigate('index.html'); Dashboard.navigate('index.html');
} }
} }
}
function playCurrentItem(button) { function playCurrentItem(button) {

View file

@ -1106,13 +1106,13 @@
if (textlines.length > 1 && verticalTextLines > 1) { if (textlines.length > 1 && verticalTextLines > 1) {
html += '<p>'; html += '<p>';
html += textlines[1]; html += textlines[1] || '&nbsp;';
html += '</p>'; html += '</p>';
} }
if (textlines.length > 2 && verticalTextLines > 2) { if (textlines.length > 2 && verticalTextLines > 2) {
html += '<p>'; html += '<p>';
html += textlines[2]; html += textlines[2] || '&nbsp;';
html += '</p>'; html += '</p>';
} }