mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13: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:
parent
53090ad85a
commit
a68379f7de
@ -1 +1 @@
|
|||||||
49073a970defd030e8ad96c44f75eb5c85119380
|
b00f14c5c5115a654e163607f5800f2e0227861c
|
||||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -3207,7 +3207,7 @@
|
|||||||
|
|
||||||
var a = settings.oLanguage.sLengthMenu.split(/(_MENU_)/);
|
var a = settings.oLanguage.sLengthMenu.split(/(_MENU_)/);
|
||||||
div.children().append( a.length > 1 ?
|
div.children().append( a.length > 1 ?
|
||||||
[ a[0], select, a[2] ] :
|
$(a[0]).add(select).add(a[2]) :
|
||||||
a[0]
|
a[0]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user