mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove dead css
This commit is contained in:
parent
e453a5b9f7
commit
e7ba8f57af
7 changed files with 65 additions and 303 deletions
|
@ -1650,14 +1650,6 @@ var AppInfo = {};
|
|||
elem.classList.add('touch');
|
||||
}
|
||||
|
||||
if (!AppInfo.enableStudioTabs) {
|
||||
elem.classList.add('studioTabDisabled');
|
||||
}
|
||||
|
||||
if (!AppInfo.enableTvEpisodesTab) {
|
||||
elem.classList.add('tvEpisodesTabDisabled');
|
||||
}
|
||||
|
||||
if (!AppInfo.enableSupporterMembership) {
|
||||
elem.classList.add('supporterMembershipDisabled');
|
||||
}
|
||||
|
@ -2057,7 +2049,7 @@ var AppInfo = {};
|
|||
Dashboard.navigate('mypreferencesmenu.html?userId=' + ApiClient.getCurrentUserId());
|
||||
};
|
||||
|
||||
embyRouter.showItem = function (item) {
|
||||
function showItem(item) {
|
||||
if (typeof (item) === 'string') {
|
||||
require(['connectionManager'], function (connectionManager) {
|
||||
var apiClient = connectionManager.currentApiClient();
|
||||
|
@ -2066,7 +2058,9 @@ var AppInfo = {};
|
|||
} else {
|
||||
Dashboard.navigate(LibraryBrowser.getHref(item));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
embyRouter.showItem = showItem;
|
||||
|
||||
return embyRouter;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue