1
0
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:
Allan Jardine 2011-09-10 10:35:03 +01:00
parent 5f82b240bc
commit c655c92cfe
6 changed files with 6 additions and 6 deletions

View File

@ -109,7 +109,7 @@ $(document).ready( function () {
} }
/* Only the two custom divs don't have class names */ /* Only the two custom divs don't have class names */
if ( !jqNodes[i].getAttribute('class') ) if ( jqNodes[i].className == "" )
{ {
nCustomWrappers.push( jqNodes[i] ); nCustomWrappers.push( jqNodes[i] );
} }

View File

@ -113,7 +113,7 @@ $(document).ready( function () {
} }
/* Only the two custom divs don't have class names */ /* Only the two custom divs don't have class names */
if ( !jqNodes[i].getAttribute('class') ) if ( jqNodes[i].className == "" )
{ {
nCustomWrappers.push( jqNodes[i] ); nCustomWrappers.push( jqNodes[i] );
} }

View File

@ -113,7 +113,7 @@ $(document).ready( function () {
} }
/* Only the two custom divs don't have class names */ /* Only the two custom divs don't have class names */
if ( !jqNodes[i].getAttribute('class') ) if ( jqNodes[i].className == "" )
{ {
nCustomWrappers.push( jqNodes[i] ); nCustomWrappers.push( jqNodes[i] );
} }

View File

@ -116,7 +116,7 @@ $(document).ready( function () {
} }
/* Only the two custom divs don't have class names */ /* Only the two custom divs don't have class names */
if ( !jqNodes[i].getAttribute('class') ) if ( jqNodes[i].className == "" )
{ {
nCustomWrappers.push( jqNodes[i] ); nCustomWrappers.push( jqNodes[i] );
} }

View File

@ -134,7 +134,7 @@ $(document).ready( function () {
} }
/* Only the two custom divs don't have class names */ /* Only the two custom divs don't have class names */
if ( !jqNodes[i].getAttribute('class') ) if ( jqNodes[i].className == "" )
{ {
nCustomWrappers.push( jqNodes[i] ); nCustomWrappers.push( jqNodes[i] );
} }

View File

@ -116,7 +116,7 @@ $(document).ready( function () {
} }
/* Only the two custom divs don't have class names */ /* Only the two custom divs don't have class names */
if ( !jqNodes[i].getAttribute('class') ) if ( jqNodes[i].className == "" )
{ {
nCustomWrappers.push( jqNodes[i] ); nCustomWrappers.push( jqNodes[i] );
} }