summaryrefslogtreecommitdiff
path: root/docs/_theme
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-12-11 00:49:54 -0800
committerCarlton Gibson <carlton.gibson@noumenal.es>2019-12-11 09:49:54 +0100
commite703b93a656b78b9b444bb3a9980e305ed002a70 (patch)
treea97f9a7da09ddf36b2f4886b4b5680f1144faf0e /docs/_theme
parentd8e233352877c37c469687287e7761e05bdae94e (diff)
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
Diffstat (limited to 'docs/_theme')
-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.