mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
optimization imports from site.js
This commit is contained in:
parent
a106e23ff8
commit
8b5772f996
11 changed files with 223 additions and 246 deletions
|
@ -568,7 +568,7 @@ function renderDetailPageBackdrop(page, item, apiClient) {
|
|||
function reloadFromItem(instance, page, params, item, user) {
|
||||
const apiClient = ServerConnections.getApiClient(item.ServerId);
|
||||
|
||||
Emby.Page.setTitle('');
|
||||
appRouter.setTitle('');
|
||||
|
||||
// Start rendering the artwork first
|
||||
renderImage(page, item);
|
||||
|
@ -2046,7 +2046,7 @@ export default function (view, params) {
|
|||
|
||||
if (e.detail.isRestored) {
|
||||
if (currentItem) {
|
||||
Emby.Page.setTitle('');
|
||||
appRouter.setTitle('');
|
||||
renderTrackSelections(page, self, currentItem, true);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue