From b45e05477e53bf3d45341209582495dd93819266 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 12 Feb 2009 22:28:45 +0000 Subject: [PATCH] allow negative values --- js/budget.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/budget.js b/js/budget.js index ad370074..6e8f9670 100644 --- a/js/budget.js +++ b/js/budget.js @@ -17,7 +17,6 @@ function blur_budget(i) { var amount = get_amount(i.name); var total = get_amount('Total', 1); - if(amount<0) amount = 0; price_format(i.name, amount, 0); price_format('Total', total+amount-i.getAttribute('_last'), 0, 1, 1); } -- 2.30.2