Fix selection in filter field

This commit is contained in:
andryyy 2017-05-11 23:18:57 +02:00
parent a478c50681
commit b1d0776ad1
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ $(document).ready(function() {
} }
}); });
// Select checkbox by click on parent tr // Select checkbox by click on parent tr
$(document).on('click', 'tr', function(e) { $(document).on('click', 'tbody>tr', function(e) {
if (e.target.type == "checkbox") { if (e.target.type == "checkbox") {
e.stopPropagation(); e.stopPropagation();
} else { } else {

View File

@ -15,7 +15,7 @@ $(document).ready(function() {
} }
}); });
// Select checkbox by click on parent tr // Select checkbox by click on parent tr
$(document).on('click', 'tr', function(e) { $(document).on('click', 'tbody>tr', function(e) {
if (e.target.type == "checkbox") { if (e.target.type == "checkbox") {
e.stopPropagation(); e.stopPropagation();
} else { } else {