Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chaintip fixes #8 #15

Merged
merged 1 commit into from Mar 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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