1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add loopback handler

This commit is contained in:
Luke Pulverenti 2016-09-03 13:16:36 -04:00
parent 5df126af54
commit 7919964805
12 changed files with 16 additions and 51 deletions

View file

@ -102,7 +102,7 @@
LibraryBrowser.renderName(item, page.querySelector('.itemName'), false, context);
LibraryBrowser.renderParentName(item, page.querySelector('.parentName'), context);
LibraryMenu.setTitle(item.SeriesName || item.Name);
LibraryMenu.setTitle('');
Dashboard.getCurrentUser().then(function (user) {

View file

@ -366,9 +366,7 @@
var secondaryTitle = (link.innerText || link.textContent).trim();
title += secondaryTitle;
var documentTitle = secondaryTitle;
LibraryMenu.setTitle(title, documentTitle);
LibraryMenu.setTitle(title);
} else {
link.classList.remove('selectedSidebarLink');
@ -698,7 +696,7 @@
libraryMenuButtonText.innerHTML = html;
}
document.title = title;
document.title = title || 'Emby';
},
setTransparentMenu: function (transparent) {

View file

@ -882,7 +882,6 @@ var AppInfo = {};
var isCordova = Dashboard.isRunningInCordova();
AppInfo.enableHomeFavorites = true;
AppInfo.enableHomeTabs = true;
AppInfo.enableNowPlayingPageBottomTabs = true;
AppInfo.enableAutoSave = browserInfo.touch;
@ -898,8 +897,6 @@ var AppInfo = {};
AppInfo.hasLowImageBandwidth = true;
if (isCordova) {
//AppInfo.enableSectionTransitions = true;
AppInfo.enableHomeFavorites = false;
AppInfo.enableNowPlayingPageBottomTabs = false;
}
}
@ -1059,10 +1056,6 @@ var AppInfo = {};
if (!AppInfo.enableSupporterMembership) {
elem.classList.add('supporterMembershipDisabled');
}
if (!AppInfo.enableHomeFavorites) {
elem.classList.add('homeFavoritesDisabled');
}
}
function loadTheme() {