From b2a35464026ae640dc7de79c49219c145ee46788 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 20 Mar 2014 15:28:58 +0000 Subject: [PATCH] Fix: Row details show and hide methods should return `this` --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index ba339404..570b4e9a 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -a6370f0666a68b7753b2f53f4b937f03248ffece +104b5fac846b79d567d21535737667cc3c91f305 diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 2e4d082b..30f596a3 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -7729,6 +7729,7 @@ 'row().child().show()' ], function () { __details_display.call( this, true ); + return this; } ); _api_register( [ @@ -7736,6 +7737,7 @@ 'row().child().hide()' ], function () { __details_display.call( this, false ); + return this; } ); _api_register( 'row().child.isShown()', function () {