diff options
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js index f6b4be3..938c566 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1669,8 +1669,8 @@ async changeBackground(position) { if (this.chatmsg.other_name) { try { const { url: pairUrl } = await this.oneSuccess([ - this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/" + this.chatmsg.sprite + ".png")), - this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/(a)" + this.chatmsg.sprite + ".gif")) + this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/" + this.chatmsg.other_emote + ".png")), + this.rejectOnError(fetch(AO_HOST + "characters/" + encodeURI(this.chatmsg.other_name.toLowerCase()) + "/(a)" + this.chatmsg.other_emote + ".gif")) ]); this.pairSilent = pairUrl ? pairUrl : transparentPNG; } catch (error) { |
