aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/utils/handleICSpeaking.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/viewport/utils/handleICSpeaking.ts')
-rw-r--r--webAO/viewport/utils/handleICSpeaking.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/webAO/viewport/utils/handleICSpeaking.ts b/webAO/viewport/utils/handleICSpeaking.ts
index 020ad24..220dd58 100644
--- a/webAO/viewport/utils/handleICSpeaking.ts
+++ b/webAO/viewport/utils/handleICSpeaking.ts
@@ -244,9 +244,9 @@ export const handle_ic_speaking = async (playerChatMsg: ChatMsg) => {
client.viewport.blipChannels.forEach(
(channel: HTMLAudioElement) =>
- (channel.src = `${AO_HOST}sounds/blips/${encodeURI(
- client.viewport.getChatmsg().blips.toLowerCase()
- )}.opus`)
+ (channel.src = `${AO_HOST}sounds/blips/${encodeURI(
+ client.viewport.getChatmsg().blips.toLowerCase()
+ )}.opus`)
);
// process markup
@@ -312,10 +312,10 @@ export const handle_ic_speaking = async (playerChatMsg: ChatMsg) => {
console.warn("markdown failed");
let output: HTMLSpanElement[] = []
for (const letter of client.viewport.getChatmsg().content) {
- let currentSelector = document.createElement('span')
- currentSelector.innerHTML = letter
- currentSelector.className = `text_${COLORS[client.viewport.getChatmsg().color]}`
- output.push(currentSelector)
+ let currentSelector = document.createElement('span');
+ currentSelector.innerHTML = letter;
+ currentSelector.className = `text_${COLORS[client.viewport.getChatmsg().color]}`;
+ output.push(currentSelector);
}
client.viewport.getChatmsg().parsed = output;
}