diff --git a/src/ninja.donatetab.js b/src/ninja.donatetab.js index 0ed5fdd..6a42ebb 100644 --- a/src/ninja.donatetab.js +++ b/src/ninja.donatetab.js @@ -11,6 +11,8 @@ ninja.wallets.donate = { var keyValuePair = {}; keyValuePair["donateqrcode"] = janin.currencies[currencyid].donate; ninja.qrCode.showQrCode(keyValuePair, 4); + + document.getElementById("donateqrcode").style.display = "block"; document.getElementById("donateqrcode").style.top = (e.offsetTop+15) + 'px'; } }; \ No newline at end of file diff --git a/src/ninja.onload.js b/src/ninja.onload.js index 03db396..37b6b63 100644 --- a/src/ninja.onload.js +++ b/src/ninja.onload.js @@ -22,6 +22,7 @@ for(i = 0; i < janin.currencies.length; i++) { } select.innerHTML = options; // populate donate list +document.getElementById("donateqrcode").style.display = "none"; var donatelist = document.getElementById("donatelist"); var list = "