aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/bitcoin_pos.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/bitcoin_pos.js b/js/bitcoin_pos.js
index 014732b1..adbd5fbf 100644
--- a/js/bitcoin_pos.js
+++ b/js/bitcoin_pos.js
@@ -27,6 +27,7 @@ $(function() {
exchange = Math.ceil(exchange * 100) / 100;
$('#exchange').val(exchange.toFixed(2));
updateTotal();
+ $('div.container-fluid').fadeIn('slow');
});
$('#amount').keyup(updateTotal);
@@ -38,8 +39,6 @@ $(function() {
updateTotal();
});
- $('div.container-fluid').fadeIn('slow');
-
function updateTotal() {
var amount = parseFloat($('#amount').val());
var total = amount / exchange;