dont have a max limit for mini picker
parent
b9aad1503c
commit
7f3b607162
|
@ -377,12 +377,10 @@ function populate_speed_emoji_modal(results, textbox)
|
||||||
|
|
||||||
emoji_index = 0;
|
emoji_index = 0;
|
||||||
speed_carot_modal.innerHTML = "";
|
speed_carot_modal.innerHTML = "";
|
||||||
const MAXXX = 25;
|
|
||||||
// Not sure why the results is a Set... but oh well
|
// Not sure why the results is a Set... but oh well
|
||||||
let i = 0;
|
let i = 0;
|
||||||
for (let result of results)
|
for (let result of results)
|
||||||
{
|
{
|
||||||
if (i++ > MAXXX) return i;
|
|
||||||
let emoji_option = document.createElement("div");
|
let emoji_option = document.createElement("div");
|
||||||
emoji_option.className = "speed-modal-option emoji-option " + (i === 1 ? "selected" : "");
|
emoji_option.className = "speed-modal-option emoji-option " + (i === 1 ? "selected" : "");
|
||||||
emoji_option.tabIndex = 0;
|
emoji_option.tabIndex = 0;
|
||||||
|
|
Loading…
Reference in New Issue