Added delay before Matrix logo resize to make sure it loads correct
This commit is contained in:
parent
be95169b0f
commit
7d5c20895e
@ -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…
x
Reference in New Issue
Block a user