qr code border is hidden until first link is hovered.

This commit is contained in:
Lucas Legname 2014-03-10 21:52:06 +01:00
parent 4d0582e9da
commit 76ea9405d6
2 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,8 @@ ninja.wallets.donate = {
var keyValuePair = {}; var keyValuePair = {};
keyValuePair["donateqrcode"] = janin.currencies[currencyid].donate; keyValuePair["donateqrcode"] = janin.currencies[currencyid].donate;
ninja.qrCode.showQrCode(keyValuePair, 4); ninja.qrCode.showQrCode(keyValuePair, 4);
document.getElementById("donateqrcode").style.display = "block";
document.getElementById("donateqrcode").style.top = (e.offsetTop+15) + 'px'; document.getElementById("donateqrcode").style.top = (e.offsetTop+15) + 'px';
} }
}; };

View file

@ -22,6 +22,7 @@ for(i = 0; i < janin.currencies.length; i++) {
} }
select.innerHTML = options; select.innerHTML = options;
// populate donate list // populate donate list
document.getElementById("donateqrcode").style.display = "none";
var donatelist = document.getElementById("donatelist"); var donatelist = document.getElementById("donatelist");
var list = "<table>"; var list = "<table>";
for(i = 0; i < janin.currencies.length; i++) { for(i = 0; i < janin.currencies.length; i++) {