From 6451e1adba1b23b26fa541efb47744c66e7b1598 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 14 May 2012 14:05:40 -0400 Subject: [PATCH] Do number comparison, not string comparison, on pledge amounts --- static/js/prefill_pledge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/prefill_pledge.js b/static/js/prefill_pledge.js index febee839..93efbec7 100644 --- a/static/js/prefill_pledge.js +++ b/static/js/prefill_pledge.js @@ -10,8 +10,8 @@ $j().ready(function() { $j('#premiums_list input').click(function() { amount = $j(this).siblings('span.menu-item-price').html(); amount = amount.split('$')[1]; - current = inputbox.val(); - if (current