mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
Limit the span modification for the sort classes - from pull request 40 (https://github.com/DataTables/DataTables/pull/40).
This commit is contained in:
parent
c6d1dfd929
commit
b4a289bf36
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -4005,7 +4005,7 @@
|
||||
if ( oSettings.bJUI )
|
||||
{
|
||||
/* jQuery UI uses extra markup */
|
||||
var jqSpan = $("span", oSettings.aoColumns[i].nTh);
|
||||
var jqSpan = $("span."+_oExt.oJUIClasses.sSortIcon, oSettings.aoColumns[i].nTh);
|
||||
jqSpan.removeClass(oClasses.sSortJUIAsc +" "+ oClasses.sSortJUIDesc +" "+
|
||||
oClasses.sSortJUI +" "+ oClasses.sSortJUIAscAllowed +" "+ oClasses.sSortJUIDescAllowed );
|
||||
|
||||
|
@ -320,7 +320,7 @@ function _fnSortingClasses( oSettings )
|
||||
if ( oSettings.bJUI )
|
||||
{
|
||||
/* jQuery UI uses extra markup */
|
||||
var jqSpan = $("span", oSettings.aoColumns[i].nTh);
|
||||
var jqSpan = $("span."+_oExt.oJUIClasses.sSortIcon, oSettings.aoColumns[i].nTh);
|
||||
jqSpan.removeClass(oClasses.sSortJUIAsc +" "+ oClasses.sSortJUIDesc +" "+
|
||||
oClasses.sSortJUI +" "+ oClasses.sSortJUIAscAllowed +" "+ oClasses.sSortJUIDescAllowed );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user