Update jquery.tablesorter.js

fix little bug in new getElementText
This commit is contained in:
Ilya Vorontsov 2015-02-18 21:41:28 +03:00
parent 2065d0c8f1
commit c2f39080d2

View File

@ -192,7 +192,7 @@
return $.trim( ( t === 'basic' ? $node.attr(c.textAttribute) || node.textContent : node.textContent ) || $node.text() || '' );
} else {
if (typeof(t) === 'function') {
return $.trim( t($node[0], table, cellIndex) );
return $.trim( t($node[0], c.table, cellIndex) );
} else if (typeof (te = ts.getColumnData( c.table, t, cellIndex )) === 'function') {
return $.trim( te($node[0], c.table, cellIndex) );
}