mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-20 18:54:15 +01:00
remove hacking
This commit is contained in:
commit
c2dd657fa8
3
media/js/jquery.dataTables.js
vendored
3
media/js/jquery.dataTables.js
vendored
@ -631,7 +631,6 @@
|
|||||||
*/
|
*/
|
||||||
function _fnAddTr( oSettings, trs )
|
function _fnAddTr( oSettings, trs )
|
||||||
{
|
{
|
||||||
var fnTrimTD = oSettings.fnTrimTD || function(td) { return $.trim(td.innerHTML); };
|
|
||||||
// Allow an individual node to be passed in
|
// Allow an individual node to be passed in
|
||||||
if ( ! trs instanceof $ ) {
|
if ( ! trs instanceof $ ) {
|
||||||
trs = $(trs);
|
trs = $(trs);
|
||||||
@ -649,7 +648,7 @@
|
|||||||
name = td.nodeName.toUpperCase();
|
name = td.nodeName.toUpperCase();
|
||||||
if ( name == "TD" || name == "TH" )
|
if ( name == "TD" || name == "TH" )
|
||||||
{
|
{
|
||||||
d.push( fnTrimTD(td) );
|
d.push( $.trim(td.innerHTML) );
|
||||||
tds.push( td );
|
tds.push( td );
|
||||||
}
|
}
|
||||||
td = td.nextSibling;
|
td = td.nextSibling;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user