Skip to content

Commit 3bee8f5

Browse files
committed
changed base for Twemoji
1 parent b546454 commit 3bee8f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/jekyll-theme-cs50.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,8 @@ $(document).on('DOMContentLoaded', function() {
597597
});
598598

599599
// Parse emoji
600-
twemoji.parse(document.body);
600+
// https://github.com/twitter/twemoji/issues/580#issuecomment-1376299586
601+
twemoji.parse(document.body, {base: 'https://cdn.jsdelivr.net/gh/twitter/[email protected]/assets/'});
601602

602603
// Reveal page
603604
$('body').removeClass('invisible');

0 commit comments

Comments
 (0)