1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-01 00:52:11 +01:00
Allan Jardine 327d71584b Fix: dt-api order() called with an empty array would cause a JS error
- Fixes DataTables/DataTables #800
- Its safe to check for `.length` on `orders` at this point since it can
  be either a number, an array or undefined. The number and undefined
  conditions have already been checked, so it must be an array (of
  whatever length).
2016-12-02 17:18:14 +00:00
..