Skip to content

Commit 2ac7d3f

Browse files
committed
Move our JS before the end body tag
1 parent cd41366 commit 2ac7d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: site/assets/js/stackblitz.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ const openBootstrapSnippet = (htmlSnippet, jsSnippet, classes) => {
3939
<link href="${params.cssCdn}" rel="stylesheet">
4040
<link href="https://getbootstrap.com/docs/${params.docsVersion}/assets/css/docs.css" rel="stylesheet">
4141
<title>Bootstrap Example</title>
42-
<${'script'} src="${params.jsBundleCdn}"></${'script'}>
4342
</head>
4443
<body class="p-3 m-0 border-0 ${classes}">
4544
4645
<!-- Example Code Start-->
4746
${htmlSnippet.trimStart().replace(/^/gm, ' ').replace(/^ {4}$/gm, '').trimEnd()}
4847
<!-- Example Code End -->
4948
49+
<${'script'} src="${params.jsBundleCdn}"></${'script'}>
5050
</body>
5151
</html>
5252
`

0 commit comments

Comments
 (0)