Selectable lines in tables : add an exclusion rule for click on padding/margin/border

SVN:trunk[5999]
This commit is contained in:
Pierre Goiffon
2018-08-06 10:12:48 +00:00
parent 135d9c5e55
commit 6e6a89fb8c

View File

@@ -82,6 +82,9 @@ $(document).ready(function () {
* @returns {boolean} true if our custom handler shouldn't be run
*/
function shouldExitHandler($eventTarget) {
if ($eventTarget.is("table")) { // might happen on cell padding/margin/border
return true;
}
if ($eventTarget.is("a, button")) {
return true;
}