mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
remove double icon class names
This commit is contained in:
parent
3d92f22b28
commit
c35b7cef9b
@ -413,7 +413,8 @@
|
|||||||
if (c.debug) {
|
if (c.debug) {
|
||||||
time = new Date();
|
time = new Date();
|
||||||
}
|
}
|
||||||
i = c.cssIcon ? '<i class="' + c.cssIcon + ' ' + ts.css.icon + '"></i>' : ''; // add icon if cssIcon option exists
|
// add icon if cssIcon option exists
|
||||||
|
i = c.cssIcon ? '<i class="' + ( c.cssIcon === ts.css.icon ? ts.css.icon : c.cssIcon + ' ' + ts.css.icon ) + '"></i>' : '';
|
||||||
c.$headers = $(table).find(c.selectorHeaders).each(function(index) {
|
c.$headers = $(table).find(c.selectorHeaders).each(function(index) {
|
||||||
$t = $(this);
|
$t = $(this);
|
||||||
ch = c.headers[index];
|
ch = c.headers[index];
|
||||||
|
Loading…
Reference in New Issue
Block a user