From d67d4bce6c7440c9bf613baf44575f5b0af86988 Mon Sep 17 00:00:00 2001 From: dimden Date: Tue, 12 Sep 2023 22:53:20 +0300 Subject: [PATCH] fix twemojis in bio --- layouts/profile/script.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/profile/script.js b/layouts/profile/script.js index c1a68eee..9daf9644 100644 --- a/layouts/profile/script.js +++ b/layouts/profile/script.js @@ -1096,7 +1096,10 @@ async function renderProfile() { document.getElementById('profile-bio').append(document.createElement('br'), translateBtn); } - if(vars.enableTwemoji) twemoji.parse(document.getElementById('profile-name')); + if(vars.enableTwemoji) { + twemoji.parse(document.getElementById('profile-name')); + twemoji.parse(document.getElementById('profile-bio')); + } document.getElementById('profile-stat-tweets-value').innerText = formatLargeNumber(pageUser.statuses_count).replace(/\s/g, ','); document.getElementById('profile-stat-following-value').innerText = formatLargeNumber(pageUser.friends_count).replace(/\s/g, ','); document.getElementById('profile-stat-followers-value').innerText = formatLargeNumber(pageUser.followers_count).replace(/\s/g, ',');