scroll to top when changing emoji search query

pull/202/head
Aevann 2023-09-18 14:43:05 +03:00
parent 5347f58382
commit c51ddabc97
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,7 @@ function populate_speed_emoji_modal(results, textbox)
}
emoji_index = 0;
speed_carot_modal.scrollTop = 0;
speed_carot_modal.innerHTML = "";
const MAXXX = 50;
// Not sure why the results is a Set... but oh well