mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Merge branch 'master' of github.com:DataTables/DataTablesSrc
This commit is contained in:
parent
c1e40d7e10
commit
3fd28eba98
@ -1 +1 @@
|
||||
8e0c42d11e7b01357fba211df1ad84f83d699550
|
||||
f579ac0e66e86bfa4caf54e0efcff2fbbfb2cb7f
|
||||
|
@ -66,7 +66,7 @@ $(document).ready(function() {
|
||||
|
||||
// Add event listener for opening and closing details
|
||||
$('#example tbody').on('click', 'td.details-control', function () {
|
||||
var tr = $(this).parents('tr');
|
||||
var tr = $(this).closest('tr');
|
||||
var row = table.row( tr );
|
||||
|
||||
if ( row.child.isShown() ) {
|
||||
@ -180,7 +180,7 @@ $(document).ready(function() {
|
||||
|
||||
// Add event listener for opening and closing details
|
||||
$('#example tbody').on('click', 'td.details-control', function () {
|
||||
var tr = $(this).parents('tr');
|
||||
var tr = $(this).closest('tr');
|
||||
var row = table.row( tr );
|
||||
|
||||
if ( row.child.isShown() ) {
|
||||
|
@ -57,7 +57,7 @@ $(document).ready(function() {
|
||||
var detailRows = [];
|
||||
|
||||
$('#example tbody').on( 'click', 'tr td:first-child', function () {
|
||||
var tr = $(this).parents('tr');
|
||||
var tr = $(this).closest('tr');
|
||||
var row = dt.row( tr );
|
||||
var idx = $.inArray( tr.attr('id'), detailRows );
|
||||
|
||||
@ -188,7 +188,7 @@ $(document).ready(function() {
|
||||
var detailRows = [];
|
||||
|
||||
$('#example tbody').on( 'click', 'tr td:first-child', function () {
|
||||
var tr = $(this).parents('tr');
|
||||
var tr = $(this).closest('tr');
|
||||
var row = dt.row( tr );
|
||||
var idx = $.inArray( tr.attr('id'), detailRows );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user