diff --git a/files/assets/js/emoji_modal.js b/files/assets/js/emoji_modal.js index 58458322e..8e460f640 100644 --- a/files/assets/js/emoji_modal.js +++ b/files/assets/js/emoji_modal.js @@ -139,6 +139,7 @@ const emojisSearchDictionary = { * @returns {Set} */ searchFor: function(query) { + query = query.toLowerCase() if(this.dict.length === 0) return new Set(); @@ -469,7 +470,7 @@ function update_speed_emoji_modal(event) { const box_coords = update_ghost_div_textarea(event.target); - let text = event.target.value.toLowerCase(); + let text = event.target.value; // Unused, but left incase anyone wants to use this more efficient method for emojos switch (event.data) diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 3557c6000..2566f7c4b 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -21,7 +21,7 @@ set CACHE_VER = { 'js/comments_admin.js': 4000, 'js/comments_v.js': 4001, 'js/submission_listing.js': 4000, - 'js/emoji_modal.js': 4003, + 'js/emoji_modal.js': 4004, 'js/formatting.js': 4000, 'js/lottery.js': 4000, 'js/marked.js': 4006,