aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/utils
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/viewport/utils')
-rw-r--r--webAO/viewport/utils/handleICSpeaking.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/viewport/utils/handleICSpeaking.ts b/webAO/viewport/utils/handleICSpeaking.ts
index 83c216d..e2d147d 100644
--- a/webAO/viewport/utils/handleICSpeaking.ts
+++ b/webAO/viewport/utils/handleICSpeaking.ts
@@ -157,7 +157,7 @@ export const handle_ic_speaking = async (playerChatMsg: ChatMsg) => {
client.viewport.getChatmsg().startspeaking = false;
} else {
client.viewport.getChatmsg().startspeaking = true;
- if (client.viewport.getChatmsg().content !== "") chatContainerBox.style.opacity = "1";
+ if (client.viewport.getChatmsg().content.trim() !== "") chatContainerBox.style.opacity = "1";
}
client.viewport.getChatmsg().preanimdelay = gifLength;
const setAside = {