mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
fix DataTables #30
This commit is contained in:
parent
f9f6031321
commit
1d8deed379
7
media/js/jquery.dataTables.js
vendored
7
media/js/jquery.dataTables.js
vendored
@ -2213,14 +2213,15 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$('th', oSettings.nTHead).removeClass( [ _oExt.oStdClasses.sSortable,
|
$('th, td', oSettings.nTHead).removeClass( [ _oExt.oStdClasses.sSortable,
|
||||||
_oExt.oJUIClasses.sSortableAsc,
|
_oExt.oJUIClasses.sSortableAsc,
|
||||||
_oExt.oJUIClasses.sSortableDesc,
|
_oExt.oJUIClasses.sSortableDesc,
|
||||||
_oExt.oJUIClasses.sSortableNone ].join(' ')
|
_oExt.oJUIClasses.sSortableNone ].join(' ')
|
||||||
);
|
);
|
||||||
$('th span.'+_oExt.oJUIClasses.sSortIcon, oSettings.nTHead).remove();
|
$('th span.'+_oExt.oJUIClasses.sSortIcon
|
||||||
|
+ ', td span.'+_oExt.oJUIClasses.sSortIcon, oSettings.nTHead).remove();
|
||||||
|
|
||||||
$('th', oSettings.nTHead).each( function () {
|
$('th, td', oSettings.nTHead).each( function () {
|
||||||
var jqWrapper = $('div.'+_oExt.oJUIClasses.sSortJUIWrapper, this);
|
var jqWrapper = $('div.'+_oExt.oJUIClasses.sSortJUIWrapper, this);
|
||||||
var kids = jqWrapper.contents();
|
var kids = jqWrapper.contents();
|
||||||
$(this).append( kids );
|
$(this).append( kids );
|
||||||
|
Loading…
Reference in New Issue
Block a user