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); } };