mirror of
https://github.com/django/django.git
synced 2025-07-12 07:45:11 +00:00
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
This commit is contained in:
parent
d8e2333528
commit
e703b93a65
24 changed files with 137 additions and 141 deletions
4
docs/_theme/djangodocs/layout.html
vendored
4
docs/_theme/djangodocs/layout.html
vendored
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue