remove double icon class names

This commit is contained in:
Mottie 2013-11-13 16:34:30 -06:00
parent 3d92f22b28
commit c35b7cef9b

View File

@ -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];