From ed94fadfc0db598a5118aff9957d60c81d824e00 Mon Sep 17 00:00:00 2001 From: Slugalisk Date: Sat, 20 Jul 2024 17:52:43 -0700 Subject: [PATCH] emotelist --- assets/emotelist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/emotelist.js b/assets/emotelist.js index 169308d1..b1d083e7 100644 --- a/assets/emotelist.js +++ b/assets/emotelist.js @@ -6,7 +6,7 @@ const table = document.createElement('table'); document.body.appendChild(table); const thead = document.createElement('tr'); table.appendChild(thead); -['emote', 'original', 'october', 'december'].forEach((header) => { +['emote', 'original', 'october', 'december', 'lotr'].forEach((header) => { const th = document.createElement('th'); th.innerText = header; thead.appendChild(th); @@ -18,7 +18,7 @@ Object.entries(emoteCreators.default).sort(([a], [b]) => a.localeCompare(b)).for [name, creators.createdby, creators.october, creators.december].forEach((creator) => { const col = document.createElement('td'); col.innerText = creator; - if (creator === '') { + if (!creator) { col.classList.add('missing'); } row.appendChild(col);