mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
parent
ce06f79502
commit
1341a53543
3 changed files with 59 additions and 0 deletions
|
@ -322,6 +322,25 @@ define(["loading", "appRouter", "layoutManager", "connectionManager", "cardBuild
|
|||
itemBirthLocation.classList.remove("hide"), itemBirthLocation.innerHTML = globalize.translate("BirthPlaceValue").replace("{0}", gmap)
|
||||
} else itemBirthLocation.classList.add("hide");
|
||||
setPeopleHeader(page, item), loading.hide()
|
||||
|
||||
try {
|
||||
require(["focusManager"], function(focusManager) {
|
||||
[".btnResume", ".btnPlay"].every(function (cls) {
|
||||
|
||||
var elems = page.querySelectorAll(cls);
|
||||
|
||||
for (var i = 0; i < elems.length; i++) {
|
||||
if (focusManager.isCurrentlyFocusable(elems[i])) {
|
||||
focusManager.focus(elems[i]);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
});
|
||||
});
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
|
||||
function logoImageUrl(item, apiClient, options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue