diff --git a/src/janin.currency.js b/src/janin.currency.js index f560227..4dcf062 100644 --- a/src/janin.currency.js +++ b/src/janin.currency.js @@ -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 diff --git a/src/ninja.paperwallet.js b/src/ninja.paperwallet.js index 5ddf6c0..5073fec 100644 --- a/src/ninja.paperwallet.js +++ b/src/ninja.paperwallet.js @@ -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 = "