Added delay before Matrix logo resize to make sure it loads correct

This commit is contained in:
Dennis Potter 2018-07-24 09:53:12 +02:00 committed by Dennis Potter
parent be95169b0f
commit 7d5c20895e

View File

@ -161,7 +161,10 @@
// Adapt Matrix logo to format of fontawesome icons
var faWidth = document.getElementById('contact-email').clientWidth;
setTimeout(function () {
document.getElementById('contact-matrix-logo').setAttribute("style","height:"+faWidth+"px; width:"+faWidth+"px");
}, 5000);
});