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

reorganizing display functions

This commit is contained in:
Techywarrior 2013-04-01 22:14:37 -07:00
parent 64e7b222ef
commit 5761321e31
11 changed files with 138 additions and 134 deletions

View file

@ -151,7 +151,7 @@
if (url) {
var style = useBackgroundColor ? "background-color:" + Dashboard.getMetroColor(item.Id) + ";" : "";
var style = useBackgroundColor ? "background-color:" + LibraryBrowser.getMetroColor(item.Id) + ";" : "";
html += "<img class='itemDetailImage' src='" + url + "' style='" + style + "' />";
}
@ -700,7 +700,7 @@
html += '<img src="' + imgUrl + '" />';
} else {
var style = "background-color:" + Dashboard.getMetroColor(cast.Name) + ";";
var style = "background-color:" + LibraryBrowser.getMetroColor(cast.Name) + ";";
html += '<img src="css/images/items/list/person.png" style="max-width:185px; '+style+'"/>';
}