From fff72cd37ce2742fb88b97bb388c0d382e0334ec Mon Sep 17 00:00:00 2001 From: choelzl Date: Wed, 23 Feb 2022 20:52:20 +0100 Subject: [PATCH] WIP --- web/emotewall/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/emotewall/index.js b/web/emotewall/index.js index 9ae3573..89e40f0 100644 --- a/web/emotewall/index.js +++ b/web/emotewall/index.js @@ -339,13 +339,13 @@ $(async function () { main(0); - const handleEmoteData = (d) =>{ + const handleEmoteData = async (d) =>{ let te = d.twitch, ce = d.custom.map(e=>e.replace(/\s/g, '')).filter(e=> img_map[e]); if(!te || te.length == 0){ return ce; }else{ let cleanTE = te.map(e => e.split(":")[0]).filter(e=> e.length>0); - return ce.concat(loadImagesTwitch(cleanTE)) + return ce.concat(await loadImagesTwitch(cleanTE)) } }