1
0
Fork 0
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:
vitorsemeano 2020-10-18 20:00:39 +01:00
parent a106e23ff8
commit 8b5772f996
11 changed files with 223 additions and 246 deletions

View file

@ -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 {