Update old comment
parent
33bc341466
commit
668f5c8536
|
@ -522,8 +522,7 @@ function loadEmojis(inputTargetIDName)
|
||||||
emojiEngineState = "loading"
|
emojiEngineState = "loading"
|
||||||
return fetchEmojis();
|
return fetchEmojis();
|
||||||
case "loading":
|
case "loading":
|
||||||
// this is a subpar solution because it means that globalEmojis won't be loaded for later keystrokes
|
// this works because once the fetch completes, the first keystroke callback will fire and use the current value
|
||||||
// however, it doesn't matter because onInput only checks what the user is typing after everything is loaded
|
|
||||||
return Promise.reject();
|
return Promise.reject();
|
||||||
case "ready":
|
case "ready":
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
|
|
Loading…
Reference in New Issue