Skip to content
6 changes: 2 additions & 4 deletions build/media_source/system/js/multiselect.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ class JMultiSelect {

// Handle click on a row
onRowClick({ target, shiftKey }) {
// Do not interfere with links, buttons, inputs
if (target.tagName && (target.tagName === 'A' || target.tagName === 'BUTTON'
|| target.tagName === 'SELECT' || target.tagName === 'TEXTAREA'
|| (target.tagName === 'INPUT' && !target.matches(this.boxSelector)))) {
// Do not interfere with links, buttons, inputs and other interactive elements
if (target.closest('a, button, input, select, textarea, details, dialog, audio, video')) {
return;
}

Expand Down