Skip to content

Commit

Permalink
Core: Cache parsed value in colspan. Fixes #1708
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Mar 3, 2020
1 parent 6ca6d09 commit 07d7c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.tablesorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
// see http://stackoverflow.com/q/36449711/145346
txt = c.duplicateSpan || index === 0 ?
val :
txt :
typeof c.textExtraction !== 'string' ?
ts.getElementText( c, cell, cacheIndex + index ) || '' :
'';
Expand Down

0 comments on commit 07d7c71

Please # to comment.