From a10f0decf7b561cc7f097d79e4f27c13151117ff Mon Sep 17 00:00:00 2001 From: Mottie Date: Sat, 21 Jun 2014 14:02:49 -0500 Subject: [PATCH] Core: add tablesorter-processing class name to table during processing. Fixes #655 --- 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 6ec0dc8c..b61d8bc5 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -1181,9 +1181,9 @@ return this.sortDisabled ? false : ts.isValueInArray( parseFloat($(this).attr('data-column')), c.sortList) >= 0; }); } - $h.addClass(ts.css.processing + ' ' + c.cssProcessing); + table.add($h).addClass(ts.css.processing + ' ' + c.cssProcessing); } else { - $h.removeClass(ts.css.processing + ' ' + c.cssProcessing); + table.add($h).removeClass(ts.css.processing + ' ' + c.cssProcessing); } };