diff --git a/files/assets/js/emoji_modal.js b/files/assets/js/emoji_modal.js index 936dc84e6..cf94c61ec 100644 --- a/files/assets/js/emoji_modal.js +++ b/files/assets/js/emoji_modal.js @@ -400,7 +400,7 @@ function populate_speed_emoji_modal(results, textbox) emoji_option.addEventListener('click', () => { selecting = false; speed_carot_modal.style.display = "none"; - textbox.value = textbox.value.replace(new RegExp(current_word+"(?=\\s|$)", "g"), `:${result}:`) + textbox.value = textbox.value.replace(new RegExp(current_word+"(?=\\s|$)", "g"), `:${result}: `) textbox.focus() if (document.location.pathname != '/chat'){ markdown(textbox)