Skip to content

Commit 41147c8

Browse files
authored
Revert "Revert "ensure that Katacoda won't try to load before the page content" (#1093)" (#1099)
This reverts commit 6c6b9a2 [formerly 9998a1c]. Former-commit-id: bae1430
1 parent ad4238b commit 41147c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/katacoda-panel.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ const KatacodaPanel = ({ katacodaPanelData }) => {
133133
return (
134134
<>
135135
<Helmet>
136-
<script src="https://katacoda.com/embed.js" />
136+
<script
137+
src="https://katacoda.com/embed.js"
138+
data-katacoda-ondemand="true"
139+
/>
137140
</Helmet>
138141

139142
{isShown ? (

0 commit comments

Comments
 (0)