mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
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
Block a user