mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Add async attribute to coral-embed scripts
This commit is contained in:
@@ -37,7 +37,7 @@ class EmbedLink extends Component {
|
||||
const streamElementId = `coral_talk_${nonce}`;
|
||||
const embedText = `
|
||||
<div id="${streamElementId}"></div>
|
||||
<script src="${coralJsUrl}" onload="
|
||||
<script src="${coralJsUrl}" async onload="
|
||||
Coral.Talk.render(document.getElementById('${streamElementId}'), {
|
||||
talk: '${talkBaseUrl}'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user