fix(dashboard): fix twemoji CDN

This commit is contained in:
Jake
2023-01-15 09:24:40 +01:00
parent 4d4852caf6
commit bf3168460b
9 changed files with 20 additions and 20 deletions

View File

@@ -20,7 +20,7 @@
} else htmlName = "";
$: if (settings && settings.appearance.twemoji) {
if (nameElement) twemoji.parse(nameElement);
if (nameElement) twemoji.parse(nameElement, { base: 'https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/' });
}
$: icon_url = item.avatar_url ? item.avatar_url : item.icon ? item.icon : default_avatar;