forked from MarseyWorld/MarseyWorld
make emojis tabs order constant
parent
f106ffb3bd
commit
656d3e9b42
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue