DataTables detects chrome on OSX as ie
DataTables detects chrome on OSX as ie

Steps:
Use chrome Version 30.0.1599.66 on OSX
Create a datable and observe the output of _fnBrowserDetect
_fnBrowserDetect will return true for bScrollOversize which leads to space underneath the datatable in certain cases from here:
[code]
/* IE7< puts a vertical scrollbar in place (when it shouldn't be) due to subtracting
* the scrollbar height from the visible display, rather than adding it on. We need to
* set the height in order to sort this. Don't want to do it in any other browsers.
*/
if ( ie67 )
{
nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+o.oScroll.iBarWidth );
}
[/code]
Use chrome Version 30.0.1599.66 on OSX
Create a datable and observe the output of _fnBrowserDetect
_fnBrowserDetect will return true for bScrollOversize which leads to space underneath the datatable in certain cases from here:
[code]
/* IE7< puts a vertical scrollbar in place (when it shouldn't be) due to subtracting
* the scrollbar height from the visible display, rather than adding it on. We need to
* set the height in order to sort this. Don't want to do it in any other browsers.
*/
if ( ie67 )
{
nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+o.oScroll.iBarWidth );
}
[/code]
This discussion has been closed.
Replies
Thanks,
Allan