mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix select all on more then 49 items in search result row
This commit is contained in:
parent
e4e9a7a5d3
commit
4192cd8d27
2 changed files with 2 additions and 7 deletions
|
@ -1224,12 +1224,7 @@ export function buildCards(items, options) {
|
||||||
if (html) {
|
if (html) {
|
||||||
if (options.itemsContainer.cardBuilderHtml !== html) {
|
if (options.itemsContainer.cardBuilderHtml !== html) {
|
||||||
options.itemsContainer.innerHTML = html;
|
options.itemsContainer.innerHTML = html;
|
||||||
|
options.itemsContainer.cardBuilderHtml = html;
|
||||||
if (items.length < 50) {
|
|
||||||
options.itemsContainer.cardBuilderHtml = html;
|
|
||||||
} else {
|
|
||||||
options.itemsContainer.cardBuilderHtml = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
imageLoader.lazyChildren(options.itemsContainer);
|
imageLoader.lazyChildren(options.itemsContainer);
|
||||||
|
|
|
@ -222,7 +222,7 @@ function showMenuForSelectedItems(e) {
|
||||||
icon: 'check_box_outline_blank'
|
icon: 'check_box_outline_blank'
|
||||||
});
|
});
|
||||||
|
|
||||||
// this assues that if the user can refresh metadata for the first item
|
// this assures that if the user can refresh metadata for the first item
|
||||||
// they can refresh metadata for all items
|
// they can refresh metadata for all items
|
||||||
if (itemHelper.canRefreshMetadata(firstItem, user)) {
|
if (itemHelper.canRefreshMetadata(firstItem, user)) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue