Skip to content

Commit

Permalink
remove hacking
Browse files Browse the repository at this point in the history
  • Loading branch information
David Steinkopff committed Mar 4, 2013
2 parents 8efdd92 + b0a25eb commit c2dd657
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions media/js/jquery.dataTables.js
Expand Up @@ -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);
Expand All @@ -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;
Expand Down

0 comments on commit c2dd657

Please sign in to comment.