mirror of
https://github.com/DataTables/DataTables.git
synced 2026-04-25 03:00:08 -04:00
Fix: Unit test compatibility fix for IE7
This commit is contained in:
@@ -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] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user