From 52b79f4b5ffce7679fa5fcceeb80d615ad0cdf16 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 11 Mar 2022 18:15:55 +0100 Subject: add apng preanims --- webAO/client/setEmote.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webAO/client') 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)) { -- cgit