mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix theme songs
This commit is contained in:
parent
ba5afc0ae2
commit
6ea056e78c
4 changed files with 8 additions and 5 deletions
|
@ -1233,7 +1233,8 @@
|
||||||
page.dispatchEvent(new CustomEvent("thememediadownload", {
|
page.dispatchEvent(new CustomEvent("thememediadownload", {
|
||||||
detail: {
|
detail: {
|
||||||
themeMediaResult: result
|
themeMediaResult: result
|
||||||
}
|
},
|
||||||
|
bubbles: true
|
||||||
}));
|
}));
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -1269,6 +1269,8 @@
|
||||||
|
|
||||||
getListViewHtml: function (options) {
|
getListViewHtml: function (options) {
|
||||||
|
|
||||||
|
require(['paper-icon-item', 'paper-item-body']);
|
||||||
|
|
||||||
var outerHtml = "";
|
var outerHtml = "";
|
||||||
|
|
||||||
if (options.title) {
|
if (options.title) {
|
||||||
|
|
|
@ -577,7 +577,7 @@
|
||||||
closeMainDrawer();
|
closeMainDrawer();
|
||||||
|
|
||||||
// On mobile devices don't navigate until after the closing animation has completed or it may stutter
|
// On mobile devices don't navigate until after the closing animation has completed or it may stutter
|
||||||
var delay = browserInfo.mobile ? 350 : 0;
|
var delay = browserInfo.mobile ? 350 : 100;
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
if (action) {
|
if (action) {
|
||||||
|
@ -602,7 +602,7 @@
|
||||||
closeMainDrawer();
|
closeMainDrawer();
|
||||||
|
|
||||||
// On mobile devices don't navigate until after the closing animation has completed or it may stutter
|
// On mobile devices don't navigate until after the closing animation has completed or it may stutter
|
||||||
var delay = browserInfo.mobile ? 350 : 0;
|
var delay = browserInfo.mobile ? 350 : 100;
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
Dashboard.logout();
|
Dashboard.logout();
|
||||||
|
|
|
@ -2201,6 +2201,8 @@ var AppInfo = {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
postInitDependencies.push('components/testermessage');
|
||||||
|
|
||||||
} else if (browserInfo.chrome) {
|
} else if (browserInfo.chrome) {
|
||||||
postInitDependencies.push('scripts/chromecast');
|
postInitDependencies.push('scripts/chromecast');
|
||||||
}
|
}
|
||||||
|
@ -2209,8 +2211,6 @@ var AppInfo = {};
|
||||||
postInitDependencies.push('scripts/nowplayingbar');
|
postInitDependencies.push('scripts/nowplayingbar');
|
||||||
}
|
}
|
||||||
|
|
||||||
postInitDependencies.push('components/testermessage');
|
|
||||||
|
|
||||||
require(postInitDependencies);
|
require(postInitDependencies);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue