Aevann1 2022-09-12 09:53:01 +02:00
parent 56c4f8ccf0
commit 3dc755e5a0
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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,