mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add code suggestions
This commit is contained in:
parent
aa9059d077
commit
03a00fc612
7 changed files with 7 additions and 8 deletions
|
@ -1468,7 +1468,7 @@ import 'programStyles';
|
|||
|
||||
let additionalCardContent = '';
|
||||
|
||||
if (layoutManager.desktop) {
|
||||
if (layoutManager.desktop && !options.disableHoverMenu) {
|
||||
additionalCardContent += getHoverMenuHtml(item, action, options);
|
||||
}
|
||||
|
||||
|
@ -1483,7 +1483,6 @@ import 'programStyles';
|
|||
* @returns {string} HTML markup of the card overlay.
|
||||
*/
|
||||
function getHoverMenuHtml(item, action, options) {
|
||||
if (options.disableHoverMenu) return;
|
||||
let html = '';
|
||||
|
||||
html += '<div class="cardOverlayContainer itemAction" data-action="' + action + '">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue