mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update queries
This commit is contained in:
parent
4172283ce1
commit
9515975e35
1 changed files with 5 additions and 1 deletions
|
@ -4,6 +4,10 @@
|
||||||
return browserInfo.mobile && AppInfo.enableAppLayouts;
|
return browserInfo.mobile && AppInfo.enableAppLayouts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getSquareShape() {
|
||||||
|
return enableScrollX() ? 'overflowSquare' : 'square';
|
||||||
|
}
|
||||||
|
|
||||||
function getTimersHtml(timers) {
|
function getTimersHtml(timers) {
|
||||||
|
|
||||||
var items = timers.map(function (t) {
|
var items = timers.map(function (t) {
|
||||||
|
@ -68,7 +72,7 @@
|
||||||
|
|
||||||
html += LibraryBrowser.getPosterViewHtml({
|
html += LibraryBrowser.getPosterViewHtml({
|
||||||
items: group.items,
|
items: group.items,
|
||||||
shape: "square",
|
shape: getSquareShape(),
|
||||||
showTitle: true,
|
showTitle: true,
|
||||||
showAirTime: true,
|
showAirTime: true,
|
||||||
showChannelName: true,
|
showChannelName: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue