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

update queries

This commit is contained in:
Luke Pulverenti 2016-05-10 22:21:28 -04:00
parent 4172283ce1
commit 9515975e35

View file

@ -4,6 +4,10 @@
return browserInfo.mobile && AppInfo.enableAppLayouts;
}
function getSquareShape() {
return enableScrollX() ? 'overflowSquare' : 'square';
}
function getTimersHtml(timers) {
var items = timers.map(function (t) {
@ -68,7 +72,7 @@
html += LibraryBrowser.getPosterViewHtml({
items: group.items,
shape: "square",
shape: getSquareShape(),
showTitle: true,
showAirTime: true,
showChannelName: true,