mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Core: Cache parsed value in colspan. Fixes #1708
This commit is contained in:
parent
6ca6d099c2
commit
07d7c71780
@ -982,7 +982,7 @@
|
|||||||
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
|
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
|
||||||
// see http://stackoverflow.com/q/36449711/145346
|
// see http://stackoverflow.com/q/36449711/145346
|
||||||
txt = c.duplicateSpan || index === 0 ?
|
txt = c.duplicateSpan || index === 0 ?
|
||||||
val :
|
txt :
|
||||||
typeof c.textExtraction !== 'string' ?
|
typeof c.textExtraction !== 'string' ?
|
||||||
ts.getElementText( c, cell, cacheIndex + index ) || '' :
|
ts.getElementText( c, cell, cacheIndex + index ) || '' :
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user