summaryrefslogtreecommitdiff
path: root/docs/_theme/djangodocs/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_theme/djangodocs/layout.html')
-rw-r--r--docs/_theme/djangodocs/layout.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_theme/djangodocs/layout.html b/docs/_theme/djangodocs/layout.html
index acf83a47cd..c8770173aa 100644
--- a/docs/_theme/djangodocs/layout.html
+++ b/docs/_theme/djangodocs/layout.html
@@ -21,8 +21,8 @@
{# as it causes problems in compiled CHM files. #}
{% if builder != "htmlhelp" %}
{{ super() }}
-<script type="text/javascript" src="{{ pathto('templatebuiltins.js', 1) }}"></script>
-<script type="text/javascript">
+<script src="{{ pathto('templatebuiltins.js', 1) }}"></script>
+<script>
(function($) {
if (!django_template_builtins) {
// templatebuiltins.js missing, do nothing.