From 7e663d57f1a00330effe6e50eca5a1974810147c Mon Sep 17 00:00:00 2001 From: thornbill Date: Wed, 3 Dec 2025 16:21:39 -0500 Subject: [PATCH] Backport pull request #7387 from jellyfin-web/release-10.11.z Fix card actions in experimental layout Original-merge: 9f1370f2424e013011df7c5452339d411a267095 Merged-by: thornbill Backported-by: thornbill --- src/components/shortcuts.js | 2 +- src/elements/emby-playstatebutton/PlayedButton.tsx | 1 + src/elements/emby-ratingbutton/FavoriteButton.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/shortcuts.js b/src/components/shortcuts.js index a8573b3ab..73aaf13ab 100644 --- a/src/components/shortcuts.js +++ b/src/components/shortcuts.js @@ -390,7 +390,7 @@ export function onClick(e) { } } - if (action) { + if (action && action !== 'none') { executeAction(card, actionElement, action); e.preventDefault(); diff --git a/src/elements/emby-playstatebutton/PlayedButton.tsx b/src/elements/emby-playstatebutton/PlayedButton.tsx index 5c08a7201..1c146d396 100644 --- a/src/elements/emby-playstatebutton/PlayedButton.tsx +++ b/src/elements/emby-playstatebutton/PlayedButton.tsx @@ -69,6 +69,7 @@ const PlayedButton: FC = ({ ); return ( = ({ return (