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
|
@ -11,6 +11,7 @@ import AlphaPicker from '../components/alphaPicker/alphaPicker';
|
|||
import '../elements/emby-itemscontainer/emby-itemscontainer';
|
||||
import '../elements/emby-scroller/emby-scroller';
|
||||
import ServerConnections from '../components/ServerConnections';
|
||||
import { appRouter } from '../components/appRouter';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -573,7 +574,7 @@ class ItemsView {
|
|||
}
|
||||
|
||||
function setTitle(item) {
|
||||
Emby.Page.setTitle(getTitle(item) || '');
|
||||
appRouter.setTitle(getTitle(item) || '');
|
||||
|
||||
if (item && item.CollectionType === 'playlists') {
|
||||
hideOrShowAll(view.querySelectorAll('.btnNewItem'), false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue