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

fix music genres

This commit is contained in:
Luke Pulverenti 2016-07-30 13:55:15 -04:00
parent d3bcb6ac63
commit 98b3a231d1
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
define(['libraryBrowser'], function (libraryBrowser) {
define(['libraryBrowser', 'cardBuilder'], function (libraryBrowser, cardBuilder) {
return function (view, params, tabContent) {
@ -57,7 +57,7 @@
var viewStyle = self.getCurrentViewStyle();
if (viewStyle == "Thumb") {
html = libraryBrowser.getPosterViewHtml({
html = cardBuilder.getCardsHtml({
items: result.Items,
shape: "backdrop",
preferThumb: true,
@ -71,7 +71,7 @@
}
else if (viewStyle == "ThumbCard") {
html = libraryBrowser.getPosterViewHtml({
html = cardBuilder.getCardsHtml({
items: result.Items,
shape: "backdrop",
preferThumb: true,
@ -83,7 +83,7 @@
});
}
else if (viewStyle == "PosterCard") {
html = libraryBrowser.getPosterViewHtml({
html = cardBuilder.getCardsHtml({
items: result.Items,
shape: "auto",
context: 'music',
@ -94,7 +94,7 @@
});
}
else if (viewStyle == "Poster") {
html = libraryBrowser.getPosterViewHtml({
html = cardBuilder.getCardsHtml({
items: result.Items,
shape: "auto",
context: 'music',