fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/6077361#context
parent
bc192e8eb3
commit
8e2a19e80b
|
@ -138,6 +138,9 @@ function update_inline_emoji_modal(event)
|
||||||
current_word = /(^|\s)([:!@][!#a-zA-Z0-9_]+(?=\n|$))/.exec(text.slice(0, coords === -1 ? text.length : coords));
|
current_word = /(^|\s)([:!@][!#a-zA-Z0-9_]+(?=\n|$))/.exec(text.slice(0, coords === -1 ? text.length : coords));
|
||||||
if (current_word) current_word = current_word[2].toLowerCase();
|
if (current_word) current_word = current_word[2].toLowerCase();
|
||||||
|
|
||||||
|
if (current_word && (current_word.endsWith('#') || current_word.endsWith('!')))
|
||||||
|
return
|
||||||
|
|
||||||
if (current_word && curr_word_is_emoji() && current_word != ":")
|
if (current_word && curr_word_is_emoji() && current_word != ":")
|
||||||
{
|
{
|
||||||
openSpeedModal().then( () => {
|
openSpeedModal().then( () => {
|
||||||
|
|
Loading…
Reference in New Issue