1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

Fix: IE8 doesn't like the console check in logging - make it object based on window - 8517

This commit is contained in:
Allan Jardine 2012-02-14 08:44:34 +00:00
parent d3c2fd551b
commit 431b5e8a55
2 changed files with 2 additions and 2 deletions

View File

@ -4532,7 +4532,7 @@
}
return;
}
else if ( console !== undefined && console.log )
else if ( window.console && console.log )
{
console.log( sAlert );
}

View File

@ -125,7 +125,7 @@ function _fnLog( oSettings, iLevel, sMesg )
}
return;
}
else if ( console !== undefined && console.log )
else if ( window.console && console.log )
{
console.log( sAlert );
}