forked from rDrama/rDrama
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', () => {
|
emoji_option.addEventListener('click', () => {
|
||||||
selecting = false;
|
selecting = false;
|
||||||
speed_carot_modal.style.display = "none";
|
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()
|
textbox.focus()
|
||||||
if (document.location.pathname != '/chat'){
|
if (document.location.pathname != '/chat'){
|
||||||
markdown(textbox)
|
markdown(textbox)
|
||||||
|
|
Loading…
Reference in New Issue