From 0e07d8a19a0db275f1d232959895af299b202a5e Mon Sep 17 00:00:00 2001 From: ConnorS1110 <83387006+ConnorS1110@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:03:51 -0400 Subject: [PATCH] Backport pull request #5660 from jellyfin-web/release-10.9.z Fixed being unable to properly long press on cards to multiselect on Firefox Original-merge: 5680c18adeb9045bf95b672eb20cd02396cd13b2 Merged-by: thornbill Backported-by: Joshua M. Boniface --- src/components/multiSelect/multiSelect.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/multiSelect/multiSelect.js b/src/components/multiSelect/multiSelect.js index d69c7b33bd..e774917593 100644 --- a/src/components/multiSelect/multiSelect.js +++ b/src/components/multiSelect/multiSelect.js @@ -99,9 +99,7 @@ function showSelection(item, isChecked) { parent.appendChild(itemSelectionPanel); let cssClass = 'chkItemSelect'; - if (isChecked && !browser.firefox) { - // In firefox, the initial tap hold doesnt' get treated as a click - // In other browsers it does, so we need to make sure that initial click is ignored + if (isChecked) { cssClass += ' checkedInitial'; } const checkedAttribute = isChecked ? ' checked' : '';