mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Merge pull request #434 from christhomas/master
I modified the location where the pager creates new <td> elements by fir...
This commit is contained in:
commit
f40e009347
@ -279,7 +279,11 @@
|
||||
tds += '<tr>';
|
||||
for ( j = 0; j < d[i].length; j++ ) {
|
||||
// build tbody cells
|
||||
tds += '<td>' + d[i][j] + '</td>';
|
||||
var temp = $("<td>").html(d[i][j]);
|
||||
var inner = temp.find("td");
|
||||
temp = inner.length ? inner : temp.wrap("<div>").parent();
|
||||
|
||||
tds += temp.wrap("<div>").parent().html();
|
||||
}
|
||||
tds += '</tr>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user