mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
Use different CDN for loading Twemoji assets (#24)
Use jsDelivr to increase the loading speed (when compared to MaxCDN) in China.
This commit is contained in:
@@ -87,7 +87,7 @@ export default function addComposerAutocomplete() {
|
||||
onmouseenter={function() {
|
||||
dropdown.setIndex($(this).parent().index() - 1);
|
||||
}}>
|
||||
<img alt={emoji} class="emoji" draggable="false" src={'//twemoji.maxcdn.com/2/72x72/' + code + '.png'}/>
|
||||
<img alt={emoji} class="emoji" draggable="false" src={'//cdn.jsdelivr.net/gh/twitter/twemoji@12/assets/72x72/' + code + '.png'}/>
|
||||
{name}
|
||||
</button>
|
||||
);
|
||||
|
Reference in New Issue
Block a user