Changeset - 3438812e0049
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2014-12-02 21:28:46
bkuhn@ebb.org
Maybe comma need not be escaped?
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/supporter-page.js
Show inline comments
...
 
@@ -37,7 +37,7 @@ $(document).ready(function() {
 
        var value = input.val();
 
        var errorElement=$("span", input.parent());
 

	
 
        var re = /^[0-9\,\.]+$/;
 
        var re = /^[0-9,\.]+$/;
 
        var isValid = (re.test(value) && parseInt(value) >= 120);
 
        if (isValid)  {
 
           input.removeClass("invalid").addClass("valid");
0 comments (0 inline, 0 general)