Skip to content

Commit

Permalink
Merge pull request #61 from adythiasjamsuri/patch-1
Browse files Browse the repository at this point in the history
Update jquery.number.js
  • Loading branch information
Sam Sehnert committed Aug 5, 2014
2 parents 77e5599 + b4d96fa commit db1ddb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jquery.number.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,10 @@
data.isNegative = false;
} else if (data.isNegative) {
// Otherwise, we add the - sign to the beginning of the field if it's negative
$this.get(0).value = '-' + this.value;
// $this.get(0).value = '-' + this.value;

// There is no need for '-' sign (CMIIW)
$this.get(0).value = this.value;
}

// Set the selection position.
Expand Down

0 comments on commit db1ddb4

Please sign in to comment.