1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Dev: Restore row details example to use 1.10.0 api

This commit is contained in:
Allan Jardine 2014-06-18 13:45:27 +01:00
parent 2a97165e37
commit 4447b84c34
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
debc26bfb3a634ea5695a548af94eefe2389b073 1fcedce42d4cb20dfa1e82e6bf7f9f871baac309

View File

@ -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 {