Skip to content

Commit

Permalink
chaintip fixes #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Angert committed Mar 5, 2018
1 parent 68af693 commit 211cfea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/index.html
Expand Up @@ -82,7 +82,8 @@
</div>
</div>
<div class="card-footer">
Balance: <span id="balance">0 BCH</span>
Balance: <span id="balance">0 BCH</span> <span id="balancemon">0 USD,</span>

<button type="button" id="addressPopover" class="btn btn-outline-primary" data-toggle="modal" data-target="#receiveModal">
Receive&nbsp;&nbsp;<span class="glyphicon glyphicon-qrcode"></span>
</button>
Expand Down
4 changes: 4 additions & 0 deletions data/js/index.js
Expand Up @@ -83,6 +83,10 @@ $(document).ready(function () {
balance = 0;
}
$('#balance').text(balance / BCHMultiplier + ' ' + BCHUnits);
currencyManager.formatAmount(balance).then(function (formattedMoney) {
var text = ' (' + formattedMoney + ')';
$('#balancemon').text(text);
});
}

function setFee(fee) {
Expand Down

0 comments on commit 211cfea

Please sign in to comment.