1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-17 15:54:14 +01:00

remove hacking

This commit is contained in:
David Steinkopff 2013-03-04 08:40:53 +01:00
commit c2dd657fa8

View File

@ -631,7 +631,6 @@
*/
function _fnAddTr( oSettings, trs )
{
var fnTrimTD = oSettings.fnTrimTD || function(td) { return $.trim(td.innerHTML); };
// Allow an individual node to be passed in
if ( ! trs instanceof $ ) {
trs = $(trs);
@ -649,7 +648,7 @@
name = td.nodeName.toUpperCase();
if ( name == "TD" || name == "TH" )
{
d.push( fnTrimTD(td) );
d.push( $.trim(td.innerHTML) );
tds.push( td );
}
td = td.nextSibling;