Browse Source

Prettified Code!

pull/1262/head
gabek 4 years ago committed by GitHub Action
parent
commit
5f7cc6a327
  1. 3
      webroot/js/components/chat/chat-input.js

3
webroot/js/components/chat/chat-input.js

@ -124,7 +124,8 @@ export default class ChatInput extends Component { @@ -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);

Loading…
Cancel
Save