Logo filename bug has been fixed.
This commit is contained in:
parent
5bcbf4f3ef
commit
f2f05069fc
2 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ janin.currency = {
|
|||
useCurrency: function(index) {
|
||||
janin.selectedCurrency = janin.currencies[index];
|
||||
|
||||
var coinImgUrl = "logos/" + janin.selectedCurrency.name + ".png";
|
||||
var coinImgUrl = "logos/" + janin.selectedCurrency.name.toLowerCase() + ".png";
|
||||
document.getElementById("coinLogoImg").src = coinImgUrl;
|
||||
|
||||
// Regenerate a new wallet when not expensive
|
||||
|
|
|
@ -133,8 +133,8 @@ ninja.wallets.paperwallet = {
|
|||
if (ninja.wallets.paperwallet.encrypt)
|
||||
keyelement = 'btcencryptedkey'
|
||||
|
||||
var coinImgUrl = "logos/" + janin.selectedCurrency.name + ".png";
|
||||
var walletBackgroundUrl = "wallets/" + janin.selectedCurrency.name + ".png";
|
||||
var coinImgUrl = "logos/" + janin.selectedCurrency.name.toLowerCase() + ".png";
|
||||
var walletBackgroundUrl = "wallets/" + janin.selectedCurrency.name.toLowerCase() + ".png";
|
||||
|
||||
var walletHtml =
|
||||
"<div class='coinIcoin'> <img id='coinImg' src='" + coinImgUrl + "' alt='currency_logo' /></div><div class='artwallet' id='artwallet" + i + "'>" +
|
||||
|
|
Loading…
Add table
Reference in a new issue