diff --git a/front/src/Api/IframeListener.ts b/front/src/Api/IframeListener.ts index f9f2b634..31a89035 100644 --- a/front/src/Api/IframeListener.ts +++ b/front/src/Api/IframeListener.ts @@ -404,12 +404,15 @@ class IframeListener { * @param exceptOrigin Don't dispatch the message to exceptOrigin (to avoid infinite loops) */ sendUserInputChat(message: string, exceptOrigin?: Window) { - this.postMessage({ - type: "userInputChat", - data: { - message: message, - } as UserInputChatEvent, - }, exceptOrigin); + this.postMessage( + { + type: "userInputChat", + data: { + message: message, + } as UserInputChatEvent, + }, + exceptOrigin + ); } sendEnterEvent(name: string) {