make emojis tabs order constant

master
Aevann 2023-03-19 17:19:21 +02:00
parent f106ffb3bd
commit 656d3e9b42
1 changed files with 2 additions and 3 deletions

View File

@ -150,7 +150,8 @@ emojiRequest.onload = async () => {
globalEmojis = emojis.map(({name, author, count}) => ({name, author, count}));
let classes = new Set();
let classes = ["Marsey", "Platy", "Wolf", "Tay", "Marsey Flags", "Marsey Alphabet", "Classic", "Rage", "Wojak", "Misc"]
const bussyDOM = document.createElement("div");
for(let i = 0; i < emojis.length; i++)
@ -165,8 +166,6 @@ emojiRequest.onload = async () => {
for(let i = 0; i < emoji.tags.length; i++)
emojisSearchDictionary.updateTag(emoji.tags[i], emoji.name);
classes.add(emoji.kind);
// Create emoji DOM
const emojiDOM = document.importNode(emojiButtonTemplateDOM.content, true).children[0];