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

separate provider options

This commit is contained in:
Luke Pulverenti 2015-01-18 00:45:10 -05:00
parent b1b6b26abc
commit 3c745ff362
89 changed files with 296 additions and 136 deletions

View file

@ -154,19 +154,22 @@
var page = this;
if ($(page).hasClass('backdropPage')) {
if (!$(page).hasClass('staticBackdropPage')) {
if (enabled()) {
var type = page.getAttribute('data-backdroptype');
if ($(page).hasClass('backdropPage')) {
showBackdrop(type);
if (enabled()) {
var type = page.getAttribute('data-backdroptype');
showBackdrop(type);
} else {
$(page).removeClass('backdropPage');
clearBackdrop();
}
} else {
$(page).removeClass('backdropPage');
clearBackdrop();
}
} else {
clearBackdrop();
}
});