From c34f78f5da5bce8bb09bd71f1d7779e43b72f5f8 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Tue, 5 Jan 2016 17:13:44 -0600 Subject: [PATCH] Core: Fix extra header class name updating. See #1116 --- js/jquery.tablesorter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index 887c21b6..b34b7c12 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -1046,8 +1046,8 @@ // find the footer $headers = c.$table .find( 'tfoot tr' ) - .children() - .add( $( c.namespace + '_extra_headers' ) ) + .add( $( c.namespace + '_extra_headers' ).children( 'tr' ) ) + .children( 'td, th' ) .removeClass( css.join( ' ' ) ); // remove all header information c.$headers