From 50d9fcc6d6c1ce78090a4e76c7e112ac1a2cd9c5 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Mon, 14 May 2012 20:37:29 -0400 Subject: [PATCH] filling box with number, not string --- static/js/prefill_pledge.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/static/js/prefill_pledge.js b/static/js/prefill_pledge.js index 0da552d5..b61b7ffd 100644 --- a/static/js/prefill_pledge.js +++ b/static/js/prefill_pledge.js @@ -10,9 +10,10 @@ $j().ready(function() { $j('#premiums_list input').on("click", function() { amount = $j(this).siblings('span.menu-item-price').html(); amount = amount.split('$')[1]; - current = parseInt(inputbox.val()); - if (current