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
parent 685a21ef5c
commit db8eca0f94

View File

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