Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Prettified Code!

gabek243451c0a934
diff --git a/webroot/js/components/chat/chat-input.js b/webroot/js/components/chat/chat-input.js
index 2587085620..3d3b5dce92 100644
--- a/webroot/js/components/chat/chat-input.js
+++ b/webroot/js/components/chat/chat-input.js
@@ -124,7 +124,8 @@ export default class ChatInput extends Component {
}
const position = getCaretPosition(this.formMessageInput.current);
- const newHTML = inputHTML.substring(0, position) +
+ const newHTML =
+ inputHTML.substring(0, position) +
content +
inputHTML.substring(position);