mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove redundant type="text/javascript" from <script> elements
In HTML5, <script> elements default to MIME type text/javascript. The HTML5 living standard and MDN recommend against including the attribute. From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type > The HTML5 specification urges authors to omit the attribute rather > than provide a redundant MIME type. From https://html.spec.whatwg.org/#the-script-element > Authors should omit the type attribute instead of redundantly setting > it.
This commit is contained in:
2
doc/_themes/sphinx13/layout.html
vendored
2
doc/_themes/sphinx13/layout.html
vendored
@@ -30,7 +30,7 @@
|
||||
.related { display: none; }
|
||||
{% endif %}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
// intelligent scrolling of the sidebar content
|
||||
$(window).scroll(function() {
|
||||
var sb = $('.sphinxsidebarwrapper');
|
||||
|
||||
Reference in New Issue
Block a user