mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync menus
This commit is contained in:
parent
43a0e6ccea
commit
b2fa34662d
62 changed files with 275 additions and 144 deletions
|
@ -43,7 +43,8 @@
|
|||
showParentTitle: true,
|
||||
lazy: true,
|
||||
centerText: true,
|
||||
overlayPlayButton: true
|
||||
overlayPlayButton: true,
|
||||
allowBottomPadding: !enableScrollX()
|
||||
|
||||
});
|
||||
ImageLoader.lazyChildren(elem);
|
||||
|
@ -89,7 +90,8 @@
|
|||
action: 'instantmix',
|
||||
lazy: true,
|
||||
centerText: true,
|
||||
overlayMoreButton: true
|
||||
overlayMoreButton: true,
|
||||
allowBottomPadding: !enableScrollX()
|
||||
|
||||
});
|
||||
ImageLoader.lazyChildren(itemsContainer);
|
||||
|
@ -135,7 +137,8 @@
|
|||
action: 'instantmix',
|
||||
lazy: true,
|
||||
centerText: true,
|
||||
overlayMoreButton: true
|
||||
overlayMoreButton: true,
|
||||
allowBottomPadding: !enableScrollX()
|
||||
|
||||
});
|
||||
ImageLoader.lazyChildren(itemsContainer);
|
||||
|
@ -177,7 +180,8 @@
|
|||
coverImage: true,
|
||||
showItemCounts: true,
|
||||
centerText: true,
|
||||
overlayPlayButton: true
|
||||
overlayPlayButton: true,
|
||||
allowBottomPadding: !enableScrollX()
|
||||
|
||||
});
|
||||
ImageLoader.lazyChildren(itemsContainer);
|
||||
|
@ -243,10 +247,6 @@
|
|||
return browserInfo.mobile && AppInfo.enableAppLayouts;
|
||||
}
|
||||
|
||||
function getThumbShape() {
|
||||
return enableScrollX() ? 'overflowBackdrop' : 'backdrop';
|
||||
}
|
||||
|
||||
self.initTab = function () {
|
||||
|
||||
var tabContent = view.querySelector('.pageTabContent[data-index=\'' + 0 + '\']');
|
||||
|
@ -351,12 +351,6 @@
|
|||
|
||||
var mdlTabs = view.querySelector('.libraryViewNav');
|
||||
|
||||
var baseUrl = 'music.html';
|
||||
var topParentId = params.topParentId;
|
||||
if (topParentId) {
|
||||
baseUrl += '?topParentId=' + topParentId;
|
||||
}
|
||||
|
||||
libraryBrowser.configurePaperLibraryTabs(view, mdlTabs, view.querySelectorAll('.pageTabContent'), [0, 4, 5, 6]);
|
||||
|
||||
mdlTabs.addEventListener('beforetabchange', function (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue