Skip to content

Commit

Permalink
ensure that Katacoda won't try to load before the page content (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-heyer authored Mar 18, 2021
1 parent 14ec3db commit d1b5b7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/katacoda-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ const KatacodaPanel = ({ katacodaPanelData }) => {
return (
<>
<Helmet>
<script src="https://katacoda.com/embed.js" />
<script
src="https://katacoda.com/embed.js"
data-katacoda-ondemand="true"
/>
</Helmet>

{isShown ? (
Expand Down

0 comments on commit d1b5b7a

Please sign in to comment.