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

@@ -75,7 +75,7 @@
htmlName = toHTML(user.name);
}
$: if (settings && settings.appearance.twemoji) {
if (welcomeElement) twemoji.parse(welcomeElement);
if (welcomeElement) twemoji.parse(welcomeElement, { base: 'https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/' });
}
</script>