mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Core: return value from getColumnData if not an object
This commit is contained in:
parent
be789c9a54
commit
b0c643e85c
@ -2282,7 +2282,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
getColumnData : function( table, obj, indx, getCell, $headers ) {
|
getColumnData : function( table, obj, indx, getCell, $headers ) {
|
||||||
if ( typeof obj === 'undefined' || obj === null ) { return; }
|
if ( typeof obj !== 'object' || obj === null ) {
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
table = $( table )[ 0 ];
|
table = $( table )[ 0 ];
|
||||||
var $header, key,
|
var $header, key,
|
||||||
c = table.config,
|
c = table.config,
|
||||||
|
Loading…
Reference in New Issue
Block a user