aboutsummaryrefslogtreecommitdiff
path: root/webAO/client
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-11 18:15:55 +0100
committerstonedDiscord <Tukz@gmx.de>2022-03-11 18:15:55 +0100
commit52b79f4b5ffce7679fa5fcceeb80d615ad0cdf16 (patch)
treeaffeaf0853a067abe7590dac077c4f1c40f82945 /webAO/client
parent7c5fac67edf4e265176d57b714bd21cdc8c8aa7d (diff)
add apng preanims
Diffstat (limited to 'webAO/client')
-rw-r--r--webAO/client/setEmote.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client/setEmote.js b/webAO/client/setEmote.js
index 16c95be..e6bf476 100644
--- a/webAO/client/setEmote.js
+++ b/webAO/client/setEmote.js
@@ -16,10 +16,10 @@ const setEmote = (AO_HOST, client, charactername, emotename, prefix, pair, side)
const apng_s = document.getElementById(`client_${position}${pairID}_apng`);
const webp_s = document.getElementById(`client_${position}${pairID}_webp`);
const extensionsMap = {
- '.gif': gif_s,
- '.png': png_s,
'.apng': apng_s,
'.webp': webp_s,
+ '.gif': gif_s,
+ '.png': png_s,
};
for (const [extension, htmlElement] of Object.entries(extensionsMap)) {