mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
removed dead code
This commit is contained in:
parent
c6c6ec116a
commit
3c1565e47d
7 changed files with 11 additions and 87 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['datetime', 'imageLoader', 'connectionManager'], function (datetime, imageLoader, connectionManager) {
|
||||
define(['datetime', 'imageLoader', 'connectionManager', 'itemShortcuts'], function (datetime, imageLoader, connectionManager, itemShortcuts) {
|
||||
|
||||
function buildChapterCardsHtml(item, chapters, options) {
|
||||
|
||||
|
@ -121,6 +121,9 @@ define(['datetime', 'imageLoader', 'connectionManager'], function (datetime, ima
|
|||
options.itemsContainer.innerHTML = html;
|
||||
|
||||
imageLoader.lazyChildren(options.itemsContainer);
|
||||
|
||||
itemShortcuts.off(options.itemsContainer);
|
||||
itemShortcuts.on(options.itemsContainer);
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -121,7 +121,9 @@
|
|||
searchImages[i].addEventListener('click', onSearchImageClick);
|
||||
}
|
||||
|
||||
focusManager.autoFocus(identificationSearchResults);
|
||||
if (layoutManager.tv) {
|
||||
focusManager.autoFocus(identificationSearchResults);
|
||||
}
|
||||
}
|
||||
|
||||
function finishFindNewDialog(dlg, identifyResult) {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<div class="identificationSearchResults hide">
|
||||
|
||||
<h1>${SearchResults}</h1>
|
||||
<div class="identificationSearchResultList itemsContainer vertical-wrap centered"></div>
|
||||
<div class="identificationSearchResultList itemsContainer vertical-wrap"></div>
|
||||
</div>
|
||||
|
||||
<form class="identifyOptionsForm hide" style="margin:auto;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue