From 824f0e391615d0471f3c29a642d16d130d4d072b Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 10 Mar 2023 03:16:21 +0200 Subject: [PATCH] mini picker: add a space after emoji --- files/assets/js/emoji_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)