Skip to content

Commit

Permalink
refactor(core): include script tag directly instead of using partial
Browse files Browse the repository at this point in the history
Closes: #1369
  • Loading branch information
b1rger committed Nov 18, 2024
1 parent dd7ec5a commit 12cb2bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion apis_core/core/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@
{% endblock footer %}

{% block scripts %}
{% include "partials/bootstrap4_js.html" %}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct"
crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]"></script>
<script>
document.body.addEventListener('htmx:beforeSwap', function(event) {
Expand Down
4 changes: 0 additions & 4 deletions apis_core/core/templates/partials/bootstrap4_js.html

This file was deleted.

0 comments on commit 12cb2bb

Please sign in to comment.