diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-12-11 00:49:54 -0800 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-12-11 09:49:54 +0100 |
| commit | e703b93a656b78b9b444bb3a9980e305ed002a70 (patch) | |
| tree | a97f9a7da09ddf36b2f4886b4b5680f1144faf0e /docs/_theme | |
| parent | d8e233352877c37c469687287e7761e05bdae94e (diff) | |
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
Diffstat (limited to 'docs/_theme')
| -rw-r--r-- | docs/_theme/djangodocs/layout.html | 4 |
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. |
