mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
Fix: Unit test compatibility fix for IE7
This commit is contained in:
parent
5f82b240bc
commit
c655c92cfe
@ -109,7 +109,7 @@ $(document).ready( function () {
|
||||
}
|
||||
|
||||
/* Only the two custom divs don't have class names */
|
||||
if ( !jqNodes[i].getAttribute('class') )
|
||||
if ( jqNodes[i].className == "" )
|
||||
{
|
||||
nCustomWrappers.push( jqNodes[i] );
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ $(document).ready( function () {
|
||||
}
|
||||
|
||||
/* Only the two custom divs don't have class names */
|
||||
if ( !jqNodes[i].getAttribute('class') )
|
||||
if ( jqNodes[i].className == "" )
|
||||
{
|
||||
nCustomWrappers.push( jqNodes[i] );
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ $(document).ready( function () {
|
||||
}
|
||||
|
||||
/* Only the two custom divs don't have class names */
|
||||
if ( !jqNodes[i].getAttribute('class') )
|
||||
if ( jqNodes[i].className == "" )
|
||||
{
|
||||
nCustomWrappers.push( jqNodes[i] );
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ $(document).ready( function () {
|
||||
}
|
||||
|
||||
/* Only the two custom divs don't have class names */
|
||||
if ( !jqNodes[i].getAttribute('class') )
|
||||
if ( jqNodes[i].className == "" )
|
||||
{
|
||||
nCustomWrappers.push( jqNodes[i] );
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ $(document).ready( function () {
|
||||
}
|
||||
|
||||
/* Only the two custom divs don't have class names */
|
||||
if ( !jqNodes[i].getAttribute('class') )
|
||||
if ( jqNodes[i].className == "" )
|
||||
{
|
||||
nCustomWrappers.push( jqNodes[i] );
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ $(document).ready( function () {
|
||||
}
|
||||
|
||||
/* Only the two custom divs don't have class names */
|
||||
if ( !jqNodes[i].getAttribute('class') )
|
||||
if ( jqNodes[i].className == "" )
|
||||
{
|
||||
nCustomWrappers.push( jqNodes[i] );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user