diff options
author | emkael <emkael@tlen.pl> | 2017-02-26 09:30:27 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-02-26 09:31:52 +0100 |
commit | 1e22a5750c81a68944108085aecf623047124578 (patch) | |
tree | d44e0891fd555c07174927222de5b67bce929927 | |
parent | 26e16dc0c07dbe44289af7fc2203c896cfbd3da8 (diff) |
Minor style fixes
-rw-r--r-- | vcards.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |