From 7140e9670a32a3be8ba501fa4b96fe35f988a563 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 26 Oct 2023 18:23:17 +0300 Subject: [PATCH] same as last commit --- files/assets/js/emoji_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/emoji_modal.js b/files/assets/js/emoji_modal.js index da58bb2ab..df407875a 100644 --- a/files/assets/js/emoji_modal.js +++ b/files/assets/js/emoji_modal.js @@ -179,7 +179,7 @@ function fetchEmojis() { emojisSearchDictionary.updateTag(`@${emoji.author_username.toLowerCase()}`, emoji.name); if (emoji.author_original_username != emoji.author_username) emojisSearchDictionary.updateTag(`@${emoji.author_original_username.toLowerCase()}`, emoji.name); - if (emoji.author_prelock_username !== null) + if (emoji.author_prelock_username !== undefined) emojisSearchDictionary.updateTag(`@${emoji.author_prelock_username.toLowerCase()}`, emoji.name); }