Skip to content

Commit

Permalink
Perf: load Bootstrap JS asynchronously (#2640)
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran authored Jan 22, 2025
2 parents 6a9f06c + cf6dbc1 commit 782fe2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benefits/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
crossorigin="anonymous"
async></script>

<script nonce="{{ request.csp_nonce }}">
$(function() {
Expand Down

0 comments on commit 782fe2b

Please sign in to comment.