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 <thornbill@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
a24eb4533d
commit
0e07d8a19a
@@ -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' : '';
|
||||
|
||||
Reference in New Issue
Block a user