Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

support for blank space #15

Merged
merged 1 commit into from

2 participants

@brunopgalvao

found this to be an issue with my app. hope it helps.

@brunopgalvao brunopgalvao support for blank space
my last commit was missing a paranthesis..
bc9f1f3
@DataTables
Owner

Looks like a good change - thanks.

@DataTables DataTables merged commit bc8bd1c into DataTables:master
@brunopgalvao brunopgalvao deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 21, 2013
  1. @brunopgalvao

    support for blank space

    brunopgalvao authored
    my last commit was missing a paranthesis..
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  sorting/formatted-numbers.js
View
2  sorting/formatted-numbers.js
@@ -9,7 +9,7 @@
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"formatted-num-pre": function ( a ) {
- a = (a==="-") ? 0 : a.replace( /[^\d\-\.]/g, "" );
+ a = (a === "-" || a === "") ? 0 : a.replace( /[^\d\-\.]/g, "" );
return parseFloat( a );
},
Something went wrong with that request. Please try again.