mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update hls
This commit is contained in:
parent
0e1df8a39d
commit
2a830d2a3d
10 changed files with 35 additions and 21 deletions
|
@ -811,14 +811,22 @@
|
|||
|
||||
var title = page.getAttribute('data-title') || page.getAttribute('data-contextname');
|
||||
|
||||
if (title) {
|
||||
LibraryMenu.setTitle(title);
|
||||
if (!title) {
|
||||
var titleKey = getParameterByName('titlekey');
|
||||
|
||||
if (titleKey) {
|
||||
title = Globalize.translate(titleKey);
|
||||
}
|
||||
}
|
||||
|
||||
var titleKey = getParameterByName('titlekey');
|
||||
if (!title) {
|
||||
if (page.classList.contains('type-interior')) {
|
||||
title = Globalize.translate('ButtonHome');
|
||||
}
|
||||
}
|
||||
|
||||
if (titleKey) {
|
||||
LibraryMenu.setTitle(Globalize.translate(titleKey));
|
||||
if (title) {
|
||||
LibraryMenu.setTitle(title);
|
||||
}
|
||||
|
||||
var mainDrawerButton = document.querySelector('.mainDrawerButton');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue