mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
Dev: Restore row details example to use 1.10.0 api
This commit is contained in:
parent
2a97165e37
commit
4447b84c34
@ -1 +1 @@
|
|||||||
debc26bfb3a634ea5695a548af94eefe2389b073
|
1fcedce42d4cb20dfa1e82e6bf7f9f871baac309
|
||||||
|
@ -71,7 +71,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
if ( row.child.isShown() ) {
|
if ( row.child.isShown() ) {
|
||||||
// This row is already open - close it
|
// This row is already open - close it
|
||||||
row.child( false );
|
row.child.hide();
|
||||||
tr.removeClass('shown');
|
tr.removeClass('shown');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -185,7 +185,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
if ( row.child.isShown() ) {
|
if ( row.child.isShown() ) {
|
||||||
// This row is already open - close it
|
// This row is already open - close it
|
||||||
row.child( false );
|
row.child.hide();
|
||||||
tr.removeClass('shown');
|
tr.removeClass('shown');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user