mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
fix ie8 hasOwnProperty issue. Fixes issue #200
This commit is contained in:
parent
623b1a3b7a
commit
e52e148ead
@ -1131,7 +1131,7 @@
|
||||
if (typeof(s) !== 'string' || s === '') { return s; }
|
||||
// allow using formatFloat without a table; defaults to US number format
|
||||
var i,
|
||||
t = table && table.hasOwnProperty('config') ? table.config.usNumberFormat !== false :
|
||||
t = table && table.config ? table.config.usNumberFormat !== false :
|
||||
typeof table !== "undefined" ? table : true;
|
||||
if (t) {
|
||||
// US Format - 1,234,567.89 -> 1234567.89
|
||||
|
Loading…
Reference in New Issue
Block a user