1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Fix: Compatiblity with jQuery 1.7.0+

* jQuery before 1.8 didn't like append being given an array of mixed
  nodes and elements
* This fixes DataTables/DataTables #320
This commit is contained in:
Allan Jardine 2014-05-15 10:08:56 +01:00
parent 53090ad85a
commit a68379f7de
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
49073a970defd030e8ad96c44f75eb5c85119380
b00f14c5c5115a654e163607f5800f2e0227861c

View File

@ -3207,7 +3207,7 @@
var a = settings.oLanguage.sLengthMenu.split(/(_MENU_)/);
div.children().append( a.length > 1 ?
[ a[0], select, a[2] ] :
$(a[0]).add(select).add(a[2]) :
a[0]
);