aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/report.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/report.coffee b/public/js/report.coffee
index 372abe7b..ed37159c 100644
--- a/public/js/report.coffee
+++ b/public/js/report.coffee
@@ -62,13 +62,13 @@ display = (transactions) ->
)
btc = 0
- $('td:nth-child(4)').each(->
+ $('table.report td:nth-child(4)').each(->
btc += parseFloat($(this).html())
)
$('#btc').html(btc.toFixed(5))
cad = 0
- $('td:nth-child(5)').each(->
+ $('table.report td:nth-child(5)').each(->
cad += parseFloat($(this).html())
)
$('#cad').html(cad.toFixed(2))