diff --git a/js/table-selectable-lines.js b/js/table-selectable-lines.js index 5a2d0bae2..9606187c9 100644 --- a/js/table-selectable-lines.js +++ b/js/table-selectable-lines.js @@ -90,7 +90,7 @@ $(document).ready(function () { /** - * Our custom handlers chould run only if clicking on somewhere without event already attached ! + * Our custom handlers should run only if clicking on somewhere without event already attached ! * @param $eventTarget * @returns {boolean} true if our custom handler shouldn't be run */ @@ -101,12 +101,18 @@ $(document).ready(function () { if ($eventTarget.is("a, button")) { return true; } + if ($eventTarget.is(".fas, i.fa")) { // Font Awesome buttons + return true; + } if ($eventTarget.parent().is('a, button')) { return true; } if ($eventTarget.is("input, select, option")) { return true; } + if ($eventTarget.parent().is(".selectize-control,.selectize-input")) { + return true; + } if ($eventTarget.is("img")) { // too hard to determine if an event handler is attached so excluding all ! return true; }