mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-07 05:54:15 +01:00
Update media/src/core/core.sort.js
Forgot parameter to lastIndexOf
This commit is contained in:
parent
6a5c4cf261
commit
e6e4205b02
@ -408,7 +408,7 @@ function _fnSortingClasses( oSettings )
|
|||||||
{
|
{
|
||||||
for ( i=0, iLen=nTds.length; i<iLen; i++ )
|
for ( i=0, iLen=nTds.length; i<iLen; i++ )
|
||||||
{
|
{
|
||||||
if ( nTds[i].className.lastIndexOf(sClass) != -1 )
|
if ( nTds[i].className.lastIndexOf(sClass, 0) != -1 )
|
||||||
{
|
{
|
||||||
nTds[i].className =
|
nTds[i].className =
|
||||||
$.trim( nTds[i].className.replace( reClass, "" ) );
|
$.trim( nTds[i].className.replace( reClass, "" ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user