mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
7d3c5cc276
- The issue was caused by the check for the `bScrollOversize` option which looks for the container being the same width as its inner content area. Obviously that happens to be true if there is no scrollbar. Adding a check for the clientWidth not being 100 as well resolves this. - I've also combined the scrollbar width detection with the other browser detect functions. The two functions were performing very similar operations and so easily combined - The browser detect DOM creation will only run once, rather than for every table initialisation, optimising multi-table loading - Fixes DataTables/DataTables #633 - Thanks to @nddery and @epitaphmike for the input