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

changed getRandomMetroColor to getMetroColor

This commit is contained in:
Techywarrior 2013-03-31 20:45:32 -07:00
parent d27b583884
commit f5550ea802
5 changed files with 22 additions and 7 deletions

View file

@ -95,7 +95,7 @@
}
if (url) {
var style = useBackgroundColor ? "background-color:" + Dashboard.getRandomMetroColor() + ";" : "";
var style = useBackgroundColor ? "background-color:" + Dashboard.getMetroColor(item.Id) + ";" : "";
html += "<img class='itemDetailImage' src='" + url + "' style='" + style + "' />";
}