forked from rDrama/rDrama
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/6225065#context
parent
084b9cdcbb
commit
a595824d94
|
@ -138,9 +138,6 @@ function update_inline_emoji_modal(event)
|
||||||
current_word = /(^|\s|\+|-)([:!@][!#a-zA-Z0-9_]{2,}(?=\n|$))/.exec(text.slice(0, coords === -1 ? text.length : coords));
|
current_word = /(^|\s|\+|-)([:!@][!#a-zA-Z0-9_]{2,}(?=\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