Handle placeholder deletion before animation fallback
This commit is contained in:
parent
d5272874fb
commit
6d5a472225
|
@ -19,8 +19,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
document.body.appendChild(elem);
|
||||
// fallback if CSS animations not available
|
||||
setTimeout(() => {
|
||||
document.querySelector('.placeholder-logo-container').style.opacity = 100;
|
||||
document.querySelector('.placeholder-message-container').style.opacity = 100;
|
||||
try {
|
||||
document.querySelector('.placeholder-logo-container').style.opacity = 100;
|
||||
document.querySelector('.placeholder-message-container').style.opacity = 100;
|
||||
} catch (e) {}
|
||||
}, 3000);
|
||||
});
|
||||
}());
|
||||
|
|
Loading…
Reference in New Issue