diff --git a/index.html b/index.html index eadfb58..43c00ba 100644 --- a/index.html +++ b/index.html @@ -6363,8 +6363,9 @@ janin.currencies = [ janin.currency.createCurrency ("Litecoin", 0x30, 0xb0, "6", "T" , "addr3"), janin.currency.createCurrency ("Marscoin", 0x32, 0xb2, "6", "T" , "addr8"), janin.currency.createCurrency ("Peercoin", 0x37, 0xb7, "7", "[LK]" , "addr4"), - janin.currency.createCurrency ("Vertcoin", 0x47, 0xc7, "7", "W" , "addr9") + janin.currency.createCurrency ("Vertcoin", 0x47, 0xc7, "7", "W" , "addr9"), + janin.currency.createCurrency ("Testnet Bitcoin", 0x6f, 0xef, "9", "c", null) ]; janin.selectedCurrency = janin.currencies[1]; @@ -8990,6 +8991,8 @@ document.getElementById("donateqrcode").style.display = "none"; var donatelist = document.getElementById("donatelist"); var list = ""; for(i = 0; i < janin.currencies.length; i++) { + if(janin.currencies[i].donate == null) + continue; list += "" +"" +"
"+janin.currencies[i].name+"" diff --git a/src/janin.currency.js b/src/janin.currency.js index e10e192..206efcf 100644 --- a/src/janin.currency.js +++ b/src/janin.currency.js @@ -63,8 +63,9 @@ janin.currencies = [ janin.currency.createCurrency ("Litecoin", 0x30, 0xb0, "6", "T" , "addr3"), janin.currency.createCurrency ("Marscoin", 0x32, 0xb2, "6", "T" , "addr8"), janin.currency.createCurrency ("Peercoin", 0x37, 0xb7, "7", "[LK]" , "addr4"), - janin.currency.createCurrency ("Vertcoin", 0x47, 0xc7, "7", "W" , "addr9") + janin.currency.createCurrency ("Vertcoin", 0x47, 0xc7, "7", "W" , "addr9"), + janin.currency.createCurrency ("Testnet Bitcoin", 0x6f, 0xef, "9", "c", null) ]; janin.selectedCurrency = janin.currencies[1]; diff --git a/src/ninja.onload.js b/src/ninja.onload.js index 9d35c0a..bdf2d3c 100644 --- a/src/ninja.onload.js +++ b/src/ninja.onload.js @@ -29,6 +29,8 @@ document.getElementById("donateqrcode").style.display = "none"; var donatelist = document.getElementById("donatelist"); var list = ""; for(i = 0; i < janin.currencies.length; i++) { + if(janin.currencies[i].donate == null) + continue; list += "" +"" +"
"+janin.currencies[i].name+""