mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +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
|
@ -28,7 +28,7 @@ In your custom ``change_form.html`` template, extend the
|
|||
|
||||
{% block admin_change_form_document_ready %}
|
||||
{{ block.super }}
|
||||
<script type="text/javascript" src="{% static 'app/formset_handlers.js' %}"></script>
|
||||
<script src="{% static 'app/formset_handlers.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
.. code-block:: javascript
|
||||
|
@ -66,7 +66,7 @@ listen to the event triggered from there. For example:
|
|||
|
||||
{% block admin_change_form_document_ready %}
|
||||
{{ block.super }}
|
||||
<script type="text/javascript" src="{% static 'app/unregistered_handlers.js' %}"></script>
|
||||
<script src="{% static 'app/unregistered_handlers.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
.. code-block:: javascript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue