Skip to content

Commit

Permalink
Rename "preload" to "jquery_base"
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMind committed Jan 31, 2025
1 parent b37f173 commit 67c2dbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/olympia/devhub/templates/devhub/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{{ js('debug') }}
{% endif %}

{{ js('preload') }}
{{ js('jquery_base') }}
{{ vite_asset('js/preload.js') }}
</head>
{% set user_authenticated = request.user.is_authenticated %}
Expand Down
2 changes: 1 addition & 1 deletion src/olympia/lib/settings_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def get_db_config(environ_var, atomic_requests=True):
'js/common/lang_switcher.js',
),
# Things to be loaded at the top of the page
'preload': (
'jquery_base': (
'jquery/dist/jquery.js',
'jquery.browser/dist/jquery.browser.js',
),
Expand Down
2 changes: 1 addition & 1 deletion src/olympia/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<meta name="csrf" content="{{ csrf_token }}">
{% endif %}

{{ js('preload') }}
{{ js('jquery_base') }}
{{ vite_asset('js/preload.js') }}
</head>
<body class="html-{{ DIR }} {{ amo.FIREFOX.short }} moz-header-slim {% block bodyclass %}{% endblock %} restyle"
Expand Down

0 comments on commit 67c2dbb

Please sign in to comment.