Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
effd2785
Unverified
Commit
effd2785
authored
1 month ago
by
Fredrik Jonsson
Committed by
GitHub
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Load htmx script in page bottom since we cannot defer it. (#4362)
parent
09aac2ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hypha/templates/base.html
+5
-4
5 additions, 4 deletions
hypha/templates/base.html
with
5 additions
and
4 deletions
hypha/templates/base.html
+
5
−
4
View file @
effd2785
...
...
@@ -34,11 +34,8 @@
{% comment %}Detect if javascript is enabled; helps with styling{% endcomment %}
<script>
document
.
querySelector
(
"
html
"
).
classList
.
replace
(
"
no-js
"
,
"
js
"
)
</script>
<!-- htmx start: installed with npm -->
<script
src=
"{% static 'js/vendor/htmx.min.js' %}"
></script>
<script
src=
"{% static 'js/vendor/htmx-ext-multi-swap.min.js' %}"
></script>
<!-- Nprogressbar -->
<script
defer
src=
"{% static 'js/vendor/nprogress-2.0.0.min.js' %}"
></script>
<!-- htmx end -->
<!-- Cookieconsent -->
<script
defer
src=
"{% static 'js/cookieconsent.js' %}"
></script>
...
...
@@ -96,6 +93,10 @@
{% cookie_banner %}
<!-- htmx start: installed with npm -->
<script
src=
"{% static 'js/vendor/htmx.min.js' %}"
></script>
<script
src=
"{% static 'js/vendor/htmx-ext-multi-swap.min.js' %}"
></script>
<!-- htmx progress, error handeling and tooltip loading -->
<script>
window
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment