Logo filename bug has been fixed.

This commit is contained in:
Lucas Legname 2014-04-01 00:08:34 +02:00
parent 5bcbf4f3ef
commit f2f05069fc
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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 + "'>" +