mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 15:26:17 -04:00
remove fade-in from description (LCP) on page load
This commit is contained in:
parent
5c3f5ece7d
commit
3f72fa1160
4 changed files with 16 additions and 4 deletions
|
@ -57,6 +57,12 @@ class PeersUI {
|
|||
console.log("Retrieved edited display name:", displayName)
|
||||
if (displayName) Events.fire('self-display-name-changed', displayName);
|
||||
});
|
||||
|
||||
|
||||
/* prevent animation on load */
|
||||
setTimeout(_ => {
|
||||
this.$xNoPeers.style.animationIterationCount = "1";
|
||||
}, 300);
|
||||
}
|
||||
|
||||
_insertDisplayName(displayName) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue