mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix alpha picker layout quirks
This commit is contained in:
parent
a8d73b3114
commit
9293267cb0
3 changed files with 15 additions and 32 deletions
|
@ -208,24 +208,21 @@
|
|||
|
||||
var page = this;
|
||||
|
||||
if (!page.classList.contains('staticBackdropPage')) {
|
||||
if (page.classList.contains('backdropPage')) {
|
||||
|
||||
if (page.classList.contains('backdropPage')) {
|
||||
if (enabled()) {
|
||||
var type = page.getAttribute('data-backdroptype');
|
||||
|
||||
if (enabled()) {
|
||||
var type = page.getAttribute('data-backdroptype');
|
||||
var parentId = page.classList.contains('globalBackdropPage') ? '' : LibraryMenu.getTopParentId();
|
||||
|
||||
var parentId = page.classList.contains('globalBackdropPage') ? '' : LibraryMenu.getTopParentId();
|
||||
showBackdrop(type, parentId);
|
||||
|
||||
showBackdrop(type, parentId);
|
||||
|
||||
} else {
|
||||
page.classList.remove('backdropPage');
|
||||
clearBackdrop();
|
||||
}
|
||||
} else {
|
||||
page.classList.remove('backdropPage');
|
||||
clearBackdrop();
|
||||
}
|
||||
} else {
|
||||
clearBackdrop();
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue