Skip to content

Commit

Permalink
[5.2] Allow multiselect for checkboxes (#44500)
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo authored Nov 27, 2024
1 parent e9296a3 commit 6a66618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/media_source/system/js/multiselect.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class JMultiSelect {
// Handle click on a row
onRowClick({ target, shiftKey }) {
// Do not interfere with links, buttons, inputs and other interactive elements
if (target.closest('a, button, input, select, textarea, details, dialog, audio, video')) {
if (!target.matches(this.boxSelector) && target.closest('a, button, input, select, textarea, details, dialog, audio, video')) {
return;
}

Expand Down

0 comments on commit 6a66618

Please sign in to comment.