From 84686a5b308334ef339cf38dc679b55c053cef8d Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 19 Jun 2014 13:38:38 +0100 Subject: [PATCH] New: `row().class()` when given with a class, the class is added to the `-tag tr` element as well as the `-tag td` element --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 4b39a02d..e78de161 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -8f6df2b9f072694f09dbf1951d7cf6d206218c48 +82b2580b26e160220f92abfa51c7cbca2b53b17a diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 6cfd63cd..6e47a9ad 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -7693,7 +7693,7 @@ } else { // Otherwise create a row with a wrapper - var created = $(''); + var created = $('').addClass( k ); $('td', created) .addClass( k ) .html( r )