mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Dev fix: Wasn't correctly creating the element to insert a header row
This commit is contained in:
parent
fd10532f94
commit
cddcafc92d
@ -103,7 +103,7 @@ function _fnBuildHead( oSettings )
|
|||||||
var columns = oSettings.aoColumns;
|
var columns = oSettings.aoColumns;
|
||||||
|
|
||||||
if ( createHeader ) {
|
if ( createHeader ) {
|
||||||
row = $('tr').appendTo( thead );
|
row = $('<tr/>').appendTo( thead );
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i=0, ien=columns.length ; i<ien ; i++ ) {
|
for ( i=0, ien=columns.length ; i<ien ; i++ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user