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

@ -1427,7 +1427,25 @@ $(function () {
Dashboard.jQueryMobileInit();
$(document).on('pagebeforeshow', ".page", function () {
$(document).on('pagecreate', ".page", function () {
var page = $(this);
var newTheme;
if (page.hasClass('libraryPage')) {
newTheme = 'b';
} else {
newTheme = 'a';
}
var current = page.page("option", "theme");
if (current && current != newTheme) {
page.page("option", "theme", newTheme);
}
}).on('pagebeforeshow', ".page", function () {
var page = $(this);