Skip to content

Commit

Permalink
Move our JS before the end body tag
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Aug 4, 2023
1 parent cd41366 commit 2ac7d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/assets/js/stackblitz.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ const openBootstrapSnippet = (htmlSnippet, jsSnippet, classes) => {
<link href="${params.cssCdn}" rel="stylesheet">
<link href="https://getbootstrap.com/docs/${params.docsVersion}/assets/css/docs.css" rel="stylesheet">
<title>Bootstrap Example</title>
<${'script'} src="${params.jsBundleCdn}"></${'script'}>
</head>
<body class="p-3 m-0 border-0 ${classes}">
<!-- Example Code Start-->
${htmlSnippet.trimStart().replace(/^/gm, ' ').replace(/^ {4}$/gm, '').trimEnd()}
<!-- Example Code End -->
<${'script'} src="${params.jsBundleCdn}"></${'script'}>
</body>
</html>
`
Expand Down

0 comments on commit 2ac7d3f

Please sign in to comment.