Permalink
Browse files

remove hacking

  • Loading branch information...
2 parents 8efdd92 + b0a25eb commit c2dd657fa83c7a9601e0fd2ec5ecb21b933e6d18 David Steinkopff committed Mar 4, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 media/js/jquery.dataTables.js
@@ -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;

0 comments on commit c2dd657

Please sign in to comment.