aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-10-25 23:55:24 -0700
committerAdam Soltys <[email protected]>2012-10-25 23:55:24 -0700
commitf96887f4ba736f83c6a994f192e6d555a679b44a (patch)
tree2a16d11de3f078a83230df958d5c4d460d23bf2a
parentd8b982a74c53e0944d2441b72b11e6e6984903ff (diff)
downloadcoinos-server-f96887f4ba736f83c6a994f192e6d555a679b44a.tar.gz
coinos-server-f96887f4ba736f83c6a994f192e6d555a679b44a.zip
Fade in after exchange rate is available
-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;