Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/main/resources/io/jenkins/plugins/bootstrap5.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--
Use it like <st:adjunct includes="io.jenkins.plugins.bootstrap5"/>
-->
<j:jelly xmlns:j="jelly:core">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">

<j:new var="h" className="hudson.Functions" />
${h.initPageVariables(context)}
Expand All @@ -14,9 +14,7 @@ Use it like <st:adjunct includes="io.jenkins.plugins.bootstrap5"/>
<script type="text/javascript" src="${resURL}/plugin/bootstrap5-api/js/bootstrap.min.js"/>
<script type="text/javascript" src="${resURL}/plugin/bootstrap5-api/js/theme-support.js"/>

<script>
const bootstrap5 = bootstrap;
</script>
<st:adjunct includes="io.jenkins.plugins.bootstrap5.init-constant"/>

</j:jelly>

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const bootstrap5 = bootstrap;