Added delay before Matrix logo resize to make sure it loads correct
This commit is contained in:
parent
685a21ef5c
commit
db8eca0f94
@ -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);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user