We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23860d6 commit 7ab9cd9Copy full SHA for 7ab9cd9
1 file changed
src/client.ts
@@ -80,7 +80,7 @@ const url = `${utterancesOrigin}/utterances.html`;
80
script.insertAdjacentHTML(
81
'afterend',
82
`<div class="utterances">
83
- <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>
84
</div>`);
85
const container = script.nextElementSibling as HTMLDivElement;
86
script.parentElement!.removeChild(script);
0 commit comments