summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-02-26 09:30:27 +0100
committeremkael <emkael@tlen.pl>2017-02-26 09:31:52 +0100
commit1e22a5750c81a68944108085aecf623047124578 (patch)
treed44e0891fd555c07174927222de5b67bce929927
parent26e16dc0c07dbe44289af7fc2203c896cfbd3da8 (diff)
Minor style fixes
-rw-r--r--vcards.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcards.js b/vcards.js
index 595bb94..e3c5dd4 100644
--- a/vcards.js
+++ b/vcards.js
@@ -9,6 +9,9 @@ if (typeof JFRTEAMY_VCARDS == 'undefined') {
loader.style.display = 'none';
loader.style.margin = '0 30px';
fotoSpan.parentNode.insertBefore(loader, fotoSpan);
+ fotoSpan.parentNode.width = 600;
+ fotoSpan.parentNode.height = 500;
+ fotoSpan.parentNode.style.verticalAlign = 'top';
var loadedPid = undefined;
for (var i = 0; i < links.length; i++) {
var link = new URL(links[i].href);
@@ -30,7 +33,7 @@ if (typeof JFRTEAMY_VCARDS == 'undefined') {
loader.style.display = 'none';
}
fotoSpan.innerHTML = '';
- loader.style.display = 'inline-block';
+ loader.style.display = 'inline';
fotoSpan.style.visibility = 'hidden';
fotoSpan.append(iframe);
loadedPid = p;