mini picker: add a space after emoji
parent
6d3d15f097
commit
824f0e3916
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue