From 76ea9405d6c2032fe29800a82ae28fb890096250 Mon Sep 17 00:00:00 2001 From: Lucas Legname Date: Mon, 10 Mar 2014 21:52:06 +0100 Subject: [PATCH] qr code border is hidden until first link is hovered. --- src/ninja.donatetab.js | 2 ++ src/ninja.onload.js | 1 + 2 files changed, 3 insertions(+) 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 = ""; for(i = 0; i < janin.currencies.length; i++) {