1
0
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:
Allan Jardine 2013-06-22 15:58:58 +01:00
parent fd10532f94
commit cddcafc92d

View File

@ -103,7 +103,7 @@ function _fnBuildHead( oSettings )
var columns = oSettings.aoColumns;
if ( createHeader ) {
row = $('tr').appendTo( thead );
row = $('<tr/>').appendTo( thead );
}
for ( i=0, ien=columns.length ; i<ien ; i++ ) {