diff --git a/services/web/frontend/js/features/chat/components/chat-pane.js b/services/web/frontend/js/features/chat/components/chat-pane.js index ab8e21660f..98dfbdc495 100644 --- a/services/web/frontend/js/features/chat/components/chat-pane.js +++ b/services/web/frontend/js/features/chat/components/chat-pane.js @@ -58,7 +58,7 @@ function LoadingSpinner() { return (
- {` ${t('loading')}...`} + {` ${t('loading')}…`}
) } diff --git a/services/web/frontend/js/features/chat/components/message-content.js b/services/web/frontend/js/features/chat/components/message-content.js index 9829d91bbf..eaa06a17a9 100644 --- a/services/web/frontend/js/features/chat/components/message-content.js +++ b/services/web/frontend/js/features/chat/components/message-content.js @@ -23,10 +23,10 @@ function MessageContent({ content }) { useEffect( () => { // adds attributes to all the links generated by , required due to https://github.com/tasti/react-linkify/issues/99 - root.current.getElementsByTagName('a').forEach(a => { + for (let a of root.current.getElementsByTagName('a')) { a.setAttribute('target', '_blank') a.setAttribute('rel', 'noreferrer noopener') - }) + } // MathJax typesetting const MJHub = window.MathJax.Hub diff --git a/services/web/frontend/js/features/chat/components/message-input.js b/services/web/frontend/js/features/chat/components/message-input.js index 56ff069674..ae3f2553b1 100644 --- a/services/web/frontend/js/features/chat/components/message-input.js +++ b/services/web/frontend/js/features/chat/components/message-input.js @@ -16,7 +16,7 @@ function MessageInput({ resetUnreadMessages, sendMessage }) { return (