Only preload emoji after the window is fully loaded
This commit is contained in:
parent
18d59bfa47
commit
102b93241c
3 changed files with 20 additions and 15 deletions
|
@ -37,6 +37,7 @@
|
|||
);
|
||||
|
||||
// Load these images now to ensure that they don't flicker on first use
|
||||
window.Signal.EmojiLib.preloadImages();
|
||||
const images = [];
|
||||
function preload(list) {
|
||||
for (let index = 0, max = list.length; index < max; index += 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue