From 7f3b607162341d260f2cad24908af87786498c5c Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 10 Mar 2023 03:35:29 +0200 Subject: [PATCH] dont have a max limit for mini picker --- files/assets/js/emoji_modal.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/assets/js/emoji_modal.js b/files/assets/js/emoji_modal.js index ba8832a76..f4b6b9af2 100644 --- a/files/assets/js/emoji_modal.js +++ b/files/assets/js/emoji_modal.js @@ -377,12 +377,10 @@ function populate_speed_emoji_modal(results, textbox) emoji_index = 0; speed_carot_modal.innerHTML = ""; - const MAXXX = 25; // Not sure why the results is a Set... but oh well let i = 0; for (let result of results) { - if (i++ > MAXXX) return i; let emoji_option = document.createElement("div"); emoji_option.className = "speed-modal-option emoji-option " + (i === 1 ? "selected" : ""); emoji_option.tabIndex = 0;