From 3438812e00497e6e118ab8ddd16850216c26f6d8 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Tue, 2 Dec 2014 16:28:46 -0500 Subject: [PATCH] Maybe comma need not be escaped? --- www/conservancy/static/supporter-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/conservancy/static/supporter-page.js b/www/conservancy/static/supporter-page.js index b19314cc..8aada7e1 100644 --- a/www/conservancy/static/supporter-page.js +++ b/www/conservancy/static/supporter-page.js @@ -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");