From a595824d947746d5b9f76b63668577872112cd83 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 7 Apr 2024 06:31:37 +0200 Subject: [PATCH] fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/6225065#context --- files/assets/js/emoji_modal/inline_emoji_modal.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/assets/js/emoji_modal/inline_emoji_modal.js b/files/assets/js/emoji_modal/inline_emoji_modal.js index 0d99e1f19..ee34ac360 100644 --- a/files/assets/js/emoji_modal/inline_emoji_modal.js +++ b/files/assets/js/emoji_modal/inline_emoji_modal.js @@ -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)); 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 != ":") { openSpeedModal().then( () => {