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:
parent
d3c2fd551b
commit
431b5e8a55
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -4532,7 +4532,7 @@
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if ( console !== undefined && console.log )
|
||||
else if ( window.console && console.log )
|
||||
{
|
||||
console.log( sAlert );
|
||||
}
|
||||
|
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user