mirror of
https://github.com/utterance/utterances.git
synced 2024-08-16 18:50:27 +03:00
parent
23860d6168
commit
7ab9cd94d9
@ -80,7 +80,7 @@ const url = `${utterancesOrigin}/utterances.html`;
|
||||
script.insertAdjacentHTML(
|
||||
'afterend',
|
||||
`<div class="utterances">
|
||||
<iframe class="utterances-frame" title="Comments" scrolling="no" src="${url}?${param(attrs)}"></iframe>
|
||||
<iframe class="utterances-frame" title="Comments" scrolling="no" src="${url}?${param(attrs)}" loading="lazy"></iframe>
|
||||
</div>`);
|
||||
const container = script.nextElementSibling as HTMLDivElement;
|
||||
script.parentElement!.removeChild(script);
|
||||
|
Loading…
Reference in New Issue
Block a user